Filling in blanks.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a large spreadsheet, it has names and blanks in column A. I want to
fill in the blanks with the name above the blanks with out having to do it
manually. Any ides???
 
Hi,
If you know how to write and run a macro...
sub filldown()

range("a1:c10").select 'you can either enter the range
'here or leave this line out and highlight the range
'before you run the macro

selection.specialcells(xlcelltypeblanks).select
selection.formulaR1C1="=R[-1]C

end sub

peter
 
Assume A1 has a name.

Select column A.

Hit F5 and Special>Blanks.

Enter an = sign in the active cell then point to cell above and hit CRTL +
ENTER.

With column A still selected, copy and in place Paste Special>Values>OK>Esc.

Gord Dibben Excel MVP

On Wed, 24 Nov 2004 11:09:07 -0800, "S. Kissing" <S.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top