Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text to Column 2

Status
Not open for further replies.

hewissa

IS-IT--Management
Sep 11, 2002
669
US
How do I combine 3 columns into one? I am trying to take the first, middle, last name of our clients which are seperated into 3 columns, and combine them so that the names are first middle last in one column.

Thanks,

Hewissa

MCSE, CCNA, CIW
 
Assuming First, Middle, Last in columns A,B,C then you can get the full name with this:
[blue]
Code:
   =A2&" " &B2&". "&C2
[/color]

However, if not every name has a middle initial, you would need to use something like this:
[blue]
Code:
   =IF(B2="",A2&" "&C2,A2&" "&B2&". "&C2)
[/color]

 
Works great.

Thank you both, stars for your time.

Hewissa

MCSE, CCNA, CIW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top