Add Space between concatenate cells

G

Guest

I am trying to combine five cells together. All of the cells do not always
have text, they are linked to another spreadsheet so when the cell is blank
in Sheet 1, the linked cell in Sheet 2 returns zero. I used the following
formula so the zeros would not show up in the concatentate formula only
words; however, now I need spaces between the words.

=TEXT(F2,"") &TEXT(G2,"")&TEXT(H2,"")&TEXT(I2,"")&TEXT(J2,"")

I would appreciate any help.
Thanks!
 
J

Jason Morin

=TRIM(TEXT(F2,"")&" "&TEXT(G2,"")&" "&TEXT(H2,"")&" "&TEXT
(I2,"")&" "&TEXT(J2,""))

HTH
Jason
Atlanta, GA
 
H

Harlan Grove

Mac Landers wrote...
I am trying to combine five cells together. All of the cells do not always
have text, they are linked to another spreadsheet so when the cell is blank
in Sheet 1, the linked cell in Sheet 2 returns zero. I used the following
formula so the zeros would not show up in the concatentate formula only
words; however, now I need spaces between the words.

=TEXT(F2,"") &TEXT(G2,"")&TEXT(H2,"")&TEXT(I2,"")&TEXT(J2,"")
Try

=T(F2)&" "&T(G2)&" "&T(H2)&" "&T(I2)&" "&T(J2)
 

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