Combine cells

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a sheet that has 3 cells that I would like to make one.

Cell G,H, and I The cells are for an address. They are the street #, street
and Unit number.

So some times the cells are null.

Any help would be great.

Keith
 
Hi

In Cell J1
=G1&" "&H1&" "&I1

If you want commas between the items, then put a comma between the
quotes in the formula e.g. ", "

Regards

Roger Govier
 
Simple version

=g1&" "&h1&" "i1

Version to account for Nulls

=g1&rept(" ",len(trim(g1))>0)&h1&rept(" ",len(trim(h1))>0)&i1
 

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

Back
Top