data manipulation

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
I have three columns. Column A is a first name and always has a name in it. Column B is also a first name, but is sometimes blank. Column C is a last name.

If column B is not blank, and " & " to the end of all cells in column A. If column B is blank, do nothing.

Add 1 space to the beginning of each cell in column C, but keeping the data intact otherwise.

Once this is done, take Column A, Column B and Column C and place in column D.

Thank you! I'm brand new to Excel and have three references books in front of me, trying to bully my way through this so I appreciate any help!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try this formula in D1
=A1&" "&IF(ISBLANK(B1),"",B1&" ")&C1

HTH
This message was edited by lenze on 2002-10-04 13:33
 
Upvote 0
oops - sorry.

Paragraph 2 should read

If column B is not blank, add "&" to the end of all cells in column A, leaving all other data in column A otherwise intact. If column B is blank, do nothing.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,399
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top