imported_unknown
Active Member
- Joined
- Jan 13, 2002
- Messages
- 424
I have three columns: A always has a first name (such as Bob), B sometimes has a name (such as Carol) but is sometimes blank, C always has a last name (such as Smith).
I need to combine these three columns into a full name in new column:
1. If B has a name, add an ' & ' to the end of the name in A and combine all three columns to read - Bob & Carol Smith
2. If B is blank, combine A and C to read - Bob Smith
I was given the following formula:
=A1&" & "&IF(ISBLANK(B1),"",B1&" ")&C1
This works very well (and I thank whoever it was very, very much, however, if B is blank it is still inserting an '&' after the name in A - such as - Bob & Smith.
How do I alter this formula to get rid of the & in the event that B is blank.
Also, I now am done with columns A,B and C and only need to keep the result but Excel is not letting me get rid of them giving me something like a 'ref' message.
How can I get rid of these columns once I'm finished.
This very green novice to Excel thanks you very much - maybe I can stop ripping my hair out in frustration now!
Thanks!
I need to combine these three columns into a full name in new column:
1. If B has a name, add an ' & ' to the end of the name in A and combine all three columns to read - Bob & Carol Smith
2. If B is blank, combine A and C to read - Bob Smith
I was given the following formula:
=A1&" & "&IF(ISBLANK(B1),"",B1&" ")&C1
This works very well (and I thank whoever it was very, very much, however, if B is blank it is still inserting an '&' after the name in A - such as - Bob & Smith.
How do I alter this formula to get rid of the & in the event that B is blank.
Also, I now am done with columns A,B and C and only need to keep the result but Excel is not letting me get rid of them giving me something like a 'ref' message.
How can I get rid of these columns once I'm finished.
This very green novice to Excel thanks you very much - maybe I can stop ripping my hair out in frustration now!
Thanks!