ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Combine cells (https://www.excelbanter.com/excel-worksheet-functions/48340-combine-cells.html)

KAnoe

Combine cells
 

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


nick

you could use the function called "concatnate"

"KAnoe" wrote:


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


nick

its CONCATENATE...i spelled it wrong b4

"nick" wrote:

you could use the function called "concatnate"

"KAnoe" wrote:


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


Roger Govier

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



KAnoe wrote:

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




Duke Carey

Simple version

=g1&" "&h1&" "i1

Version to account for Nulls

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


"KAnoe" wrote:


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



All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com