Clever-Excel-Forum

Normale Version: Concatenate und Transpose
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Example
Markus
Oliver

When I use =concatenate(transpose(A1:B2))
and run only the transpose part using F9 below is the result. Iam not sure why "\" is coming up..


=concatenate({"Markus"\"Oliver"}))
Hello,

this is a German speaking forum, that's why I only exceptionally answer in English.

The slash \ is in your case the separator for the array items used by your Excel version. In general, Excel firstly get these separators
from the Windows regional settings, if they have not been overridden in the Excel options. For an Excel running on a German
Windows system, these separators are normally the semi-colon and a dot, depending if it is a horizontal or vertical array.

But, if you e.g. change the Excel language from German to English on a German Windows, Excel can not use the dot and therefore
uses a slash. Please see the screenshot. All in all, if you see the slash, you can assume that's a correct behaviour.

[attachment=27757]

Gruß
Ich nutze Excel mit English Sprache

End efeckt, brauch ich  Markus;Oliver ..Wie müss die formula sein ? bitte helfen sie Smile
Hola,

=A1&";"&A2

Gruß,
steve1da
nein die beide name war eine beispiel , meine list ist lange und brauche Concatenate(transpose) formula
Hallo,

möglicherweise hast Du diverse Tipps im Internet gelesen, die empfehlen, CONCATENATE(TRANSPOSE(...))
zu verwenden und dabei den Teil TRANSPOSE(...) per F9 statisch auszuwerten. Das empfehle ich nicht.

Da Du aber Excel 2013 angegeben hast, bliebe nur ein Makro. Dazu in VBA ein neues Modul und folgenden
Code hinzufügen ...

Code:
' Use this function only for single column ranges

  Public Function CONCATENATERANGE(Source As Range, Separator As String) As String
    
    CONCATENATERANGE = Join(Application.Transpose(Source.Value), Separator)
    
  End Function

In Excel kannst Du dann (ohne TRANSPOSE) verwenden:

Code:
B1=CONCATENATERANGE(A1:A500;";")

Ab Excel 2016 kannst die Formel TEXTJOIN verwenden ...

Code:
=TEXTJOIN(";";TRUE;A1:A500)

Gruß
Danke fur ihre hilfe ! Super