Filling blank fields

TCollin6

New Member
Joined
Jan 25, 2005
Messages
11
I have a list in excell that has a name, then below it a random number of blank fields then another name. Anyone know if I could build a macro to fill in those blanks with the first name?

Looks like this:

John Doe





Jane Doe

Need to look like:

John Doe
John Doe
John Doe
John Doe
John Doe
John Doe
Jane Doe


Any shortcut would be appreciated as this is a 10,000+ line spreadsheet!

Thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Select the column with your data in it, do edit / Go to / Special / Blanks, type = and hit the up arrow once and then use CTRL+ENTER to enter the data.

If you want you can now copy and paste special as values to get rid of the formulas.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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