+ Reply to Thread
Results 1 to 4 of 4

Fill blanks in Column

  1. #1
    Registered User
    Join Date
    03-20-2010
    Location
    Tualatin, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    2

    Fill blanks in Column

    Hello,

    I have a column that starts with a cell containing a particular number, and every 100th cell (approximately) contains a different number. E.g, A-2 is 0.5, A-102 is 1.2, A-202 is 0.8. All the cells in-between are empty. Is there an easy way to copy/paste these values all the way down the column, changing the values once a new number is reached? E.g. the value 0.5 would be copied to cells A-3 through A-101, then 1.2 would be copied to cells 103 through 201, etc.?

    Manually copy/pasting each number into the subsequent 99 cells is impractical because I have about 450 different numbers and about 45,000 rows. I'm hoping there's a way to do it all in one move? Is that possible?

    BTW, if it helps, the values for each 100 cells correspond to a particular date, the values of which are entered in another column. Eg. the first 100 cells (with the value of 0.5) are 1/1/09, the next 100 cells (value of 1.2) are 1/2/09, etc.

    Much thanks in advance.
    Last edited by LongArm; 03-22-2010 at 09:25 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tricky Column-Filling

    Select the column.

    Edit > Goto > Special, tick Blanks

    In the formula bar, type =, the press the up arrow key, then press and hold the Ctrl key, then hit Enter.

    Select the column again, Edit > Copy, Edit > Paste Special, Values
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column-Filling

    in b1 put =a1 in b2 put =IF(A2="",B1,A2) and drag down
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    03-20-2010
    Location
    Tualatin, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Fill blanks in Column

    Thank you both for the help, really appreciate it. Martin's solution did the trick for me.
    Last edited by LongArm; 03-22-2010 at 09:25 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1