Good afternoon
I have not used the Concatenate formula before and I am getting a strange result in cell N11 for example I am typing =Concatenate(B11,” – “,C11) expecting the result to look like SG – IN but instead I get SG in N11 and -IN in P11?
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Concatenate
Good afternoon
I have not used the Concatenate formula before and I am getting a strange result in cell N11 for example I am typing =Concatenate(B11,” – “,C11) expecting the result to look like SG – IN but instead I get SG in N11 and -IN in P11?
In addition to concatenate, you can use “&” syntex.
Thanks Prasad and Hans
However it still does the same as you can see from the screenshot below with dummy data, this is with both the & and the Concatenate formula?
Editted: helps if I attach the picture!!
It seems that cell are merged & formatted in a particular manner. try de-merging cell & format in usual way.
It seems that cell are merged & formatted in a particular manner. try de-merging cell & format in usual way.
Hi Prasad
The cells are not split until I type in either of the formulas and it then gives the appearance of splitting the cells but I don’t think they are becaus I can tab between the cells as normal, I even went right across to column AZ which is nowhere near the data but it is still doing the same and taking out the cell lines for 3 or 4 cells?
Hi Prasad
The cells are not split until I type in either of the formulas and it then gives the appearance of splitting the cells but I don’t think they are becaus I can tab between the cells as normal, I even went right across to column AZ which is nowhere near the data but it is still doing the same and taking out the cell lines for 3 or 4 cells?
Is it possible to attache a copy of sheet instead of image?
Is it possible to attache a copy of sheet instead of image?
Hi John
Column B & C are populated by 2 letter country codes, for example NL, US, UK, DE, IN, SG etc. All I am putting in is either
=Concatenate(B11,” – “,C11) or as Prasad suggested =B11&” – “&C11 and both behave in the same way.
Having looked a bit more it may be that this is a huge file downloaded as a CSV for speed and saved as a .xls and maybe there is some hidden formatting going on but I can’t see it. I have tried both methods in a clean workbook and they work fine but even copying the data out of the errant book into a new one does not solve it.
Hi John
Column B & C are populated by 2 letter country codes, for example NL, US, UK, DE, IN, SG etc. All I am putting in is either
=Concatenate(B11,” – “,C11) or as Prasad suggested =B11&” – “&C11 and both behave in the same way.
Having looked a bit more it may be that this is a huge file downloaded as a CSV for speed and saved as a .xls and maybe there is some hidden formatting going on but I can’t see it. I have tried both methods in a clean workbook and they work fine but even copying the data out of the errant book into a new one does not solve it.
Have you tried =CONCATENATE(TRIM(B11), ” – “, TRIM(C11)) ?
Thanks Prasad and Hans
However it still does the same as you can see from the screenshot below with dummy data, this is with both the & and the Concatenate formula?
Editted: helps if I attach the picture!!
I see no problem with the formula you posted.
Care to share a sample of your copy? It would be some other issue than the formula itself.
Were does the cursor appear if you click on the cell and then press your F2 key? If it does not appear immediately after the last letter, then you have spaces at the end of the field. Or highlight your column, go to Format / Column> / Autofit Selection.
Gfamily’s fomulas can be trimmed down to:
=TRIM(CONCATENATE(B11, ” – “, C11))
I just recreated it with no problem, including trailing spaces, which just appeared in the result when they were added to the source cells.
I did use the Function Arguments dialog box — typed =concatenate(
and then clicked on the fx Insert Function button to the left of the formula bar and completed the formula using the Function Arguments box. Perhaps that might work better.
Good luck!
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications