Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 2

Kathie's Helpful

Excel Hints Excel's Concatenate Function 2/5/01

First Last Concatenate (First Last) Concatenate (Last, First)


Kathie Felt Kathie Felt Felt, Kathie =CONCATENATE(B2,", ",A2)
Josephine Gahizi-Saleem Josephine Gahizi-Saleem Gahizi-Saleem, Josephine =CONCATENATE(B2,", ",A2)
James Ford James Ford Ford, James =CONCATENATE(B2,", ",A2)
Paul Brancati Paul Brancati Brancati, Paul =CONCATENATE(B2,", ",A2)
Mike Williams Mike Williams Williams, Mike =CONCATENATE(B2,", ",A2)
Cheri Griffith Cheri Griffith Griffith, Cheri =CONCATENATE(B2,", ",A2)

The concatenate function will enable you to "merge" several cells into one including spaces, commas, other text.
For example, say you have first and last names in separate columns and you want to put the whole name into one column
Type this: =CONCATENATE(A2," ",B2)
into the cell to the right of the first/last name fields and you'll get the first name a space then the last name all in one column.
The examples in columns C and D show how you can merge the fields in different ways.

SECTOR TRX CELLID Use the MML command to change the FREQ on a sector:
A2A001BS11 TRX-001 21251 ZERM:NAME=A2A001BS11,TRX=1:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
A2A001BS11 TRX-002 21251 ZERM:NAME=A2A001BS11,TRX=2:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
A2A001BS12 TRX-003 21252 ZERM:NAME=A2A001BS12,TRX=3:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
A2A001BS12 TRX-004 21252 ZERM:NAME=A2A001BS12,TRX=4:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
A2A001BS13 TRX-005 21253 ZERM:NAME=A2A001BS13,TRX=5:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
A2A001BS13 TRX-006 21253 ZERM:NAME=A2A001BS13,TRX=6:FREQ=567; =CONCATENATE("ZERM:NAME=",A16,",TRX=",RIGHT(B16,1),":FREQ=567;")
Kathie's Helpful
Excel Hints Excel's Concatenate Function 2/5/01

Select the cell in which you want to put


create the function
Click the function button
Choose Concatenate from the function list

Click in the Text1 button, then in the cell from


which you want to get the first word,
Click the Text2 and put your space, column,
other cell's info etc.
Click the Text3 cell and enter the remaining
information.
When done, click OK and the result will show
up in the cell as a string of text.

You might also like