how to remove blank columns and replace it with the value of the next non-blank cell in the row

mrfrost

New Member
Joined
Feb 25, 2005
Messages
9
Hi,
I need to format a data set for a mail merge. In essence I am looking for help on how to remove blank columns and replace it with the value of the next non-blank cell in the row (without the use of Macros).

Blank values are allowed in the Widget columns are allowed
Each email address will have no more than 20 Widgets associated with it

Example Data set:
Email | Widget 1 | Widget 2 | Widget 3 ... up to Widget 200
xyz@gmail.com | a | | | | | | b
pqr@gmail.com | | | | c | d | e | | | | | | | | f

Required Outcome:
xyz@ | a | b
pqr@ | c | d | e | f


Thanks,
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
In essence I am looking for help on how to remove blank columns and replace it with the value of the next non-blank cell in the row (without the use of Macros).
Try this with a copy of your worksheet
1. Select any single cell on the worksheet
2. F5 -> Special... -> Blanks -> OK
3. Right click anywhere on the grey cells - Delete .. -> Shift cells left -> OK
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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