Jump to content

Excel Concatenate Formula


Recommended Posts

Posted

Hi I have doubt in Excel Concatenate Formula.Here i have pasted one reference image.As per that Image I am Concatenating 05888 & 0001 means output coming like 5888-1.But i want out Like 05888-0001.I changed that column format as a Text also.But same output is coming.Any option is there? If 0001 means 0001 only need to come.

Concatenate_1.jpg

Posted (edited)

If the type of data in first two columns is Text, then the formula below should work:

=CONCATENATE(A1, "-", B1)

Edited by MSasu
Fixed the formula, "-" instead of "+".
Posted

Is this result acceptable: 05888+0001 ? Or is a dash preferred over a plus sign?

Posted

As Mircea said format the cells as TEXT and then it works. But use semicolons not commas to separate the text elements.

Posted

ExcelConcatenate.PNG

No semi-colon's here. But, as indicate by the green triangles in the upper left hand corner, both cells are Text. Note that I change this "+" to this "-".

Posted
Or is a dash preferred over a plus sign?

I'm afraid that it was my mistake when I wrote the formula. It should included a dash, as in OP's screen-shot. Sorry for inconvenience.

Posted
use semicolons not commas to separate the text elements.

That is controled by what character you had set as List separator into Regional Settings of your system.

Posted

Excel Concat.jpg

 

The difference is the language version. This is German and as the Germans use a comma as a decimal seperator and it could be that they use a semicolon to differentiate with the decimal seperator. I don't know. If you SUM some cells together they use a semicolon to seperate the list, what do they use in the English version ReMark? Sorry if I caused some confusion here.

Posted

As you can see I used a comma as my separator. Never thought to use a semicolon.

Posted

I hardly use Excel so the setting is what the setting is. Know what I mean?

Posted

Same here ReMark.

 

My Excel set-up is OOTB and in Regional Settings my List Seperator is a ';' hence the difference. Thanks for the explanation Mircea.

 

Let's see what the OP says when he comes back tomorrow.

Posted

i have tried with this all format .but till i am not get that value like 05888-0001Concc.jpg

Posted

The below formula will force the formatting of the two values being concatenated; the type of data should not make a difference.

=CONCATENATE(TEXT(A1, "00000"), "-", TEXT(B1, "0000"))

 

By the way, you may ask a moderator to move your thread into a public area for better visibility and therefore support.

Posted

I think you got your images labeled incorrectly in post #14.

Posted

@suryatry26: Glad to hear that is solved. You're welcome!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...