Concatenate error

S

Susie

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.
 
F

FSt1

hi
=Trim(A1) & b1 & C1 & D1
or
=Concatenate(Trim(A1),B1,C1,D1)

either way

Regards
FSt1
 
T

Tyro

Assuming your cells are A1, B1, C1 and D1 then in A2:
=TRIM(A1)&TRIM(B1)&TRIM(C1)&TRIM(D1)

Tyro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top