Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Concatenate error
I have 4 columns I want to combine with the concatenate function. Column 1
has either 3,4 or 5 characters. When I use the function, it works fine - except there are spaces after the characters in column 1. There are no extra spaces that show up from columns 2,3 or 4. How do I set column 1 to only take the characters that are there over to the concatenated function. I don't want any extra spaces. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Concatenate error
hi
=Trim(A1) & b1 & C1 & D1 or =Concatenate(Trim(A1),B1,C1,D1) either way Regards FSt1 "Susie" wrote: I have 4 columns I want to combine with the concatenate function. Column 1 has either 3,4 or 5 characters. When I use the function, it works fine - except there are spaces after the characters in column 1. There are no extra spaces that show up from columns 2,3 or 4. How do I set column 1 to only take the characters that are there over to the concatenated function. I don't want any extra spaces. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Concatenate error
Assuming your cells are A1, B1, C1 and D1 then in A2:
=TRIM(A1)&TRIM(B1)&TRIM(C1)&TRIM(D1) Tyro "Susie" wrote in message ... I have 4 columns I want to combine with the concatenate function. Column 1 has either 3,4 or 5 characters. When I use the function, it works fine - except there are spaces after the characters in column 1. There are no extra spaces that show up from columns 2,3 or 4. How do I set column 1 to only take the characters that are there over to the concatenated function. I don't want any extra spaces. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Concatenate error
I had never heard of the 'Trim' command. Thanks. I'll give it a try.
"Tyro" wrote: Assuming your cells are A1, B1, C1 and D1 then in A2: =TRIM(A1)&TRIM(B1)&TRIM(C1)&TRIM(D1) Tyro "Susie" wrote in message ... I have 4 columns I want to combine with the concatenate function. Column 1 has either 3,4 or 5 characters. When I use the function, it works fine - except there are spaces after the characters in column 1. There are no extra spaces that show up from columns 2,3 or 4. How do I set column 1 to only take the characters that are there over to the concatenated function. I don't want any extra spaces. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
concatenate expression error | Excel Worksheet Functions | |||
Concatenate | Excel Discussion (Misc queries) | |||
why do i sometimes get a "value" error when i try to concatenate? | Excel Discussion (Misc queries) | |||
I know how to concatenate ,can one de-concatenate to split date? | New Users to Excel | |||
Use numbers in CONCATENATE formula without getting error | Excel Worksheet Functions |