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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

KenWright

Active Member
Joined
Jan 14, 2005
Messages
267
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.
 

Forum statistics

Threads
1,148,391
Messages
5,746,435
Members
424,017
Latest member
jaka

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
Top