+ Reply to Thread
Results 1 to 2 of 2

Auto filling blank cells with a number...

  1. #1
    Registered User
    Join Date
    02-25-2011
    Location
    Nottingham
    MS-Off Ver
    Excel 2007
    Posts
    11

    Auto filling blank cells with a number...

    It might be a simple problem which my brain is just too small to cope with... but:

    I have a very long column of 6 figure numbers with some groups of cells left blank. These blank cells are really the value of the number in the cell above. However blanking was caused as result of using the pivot table.

    I've managed to get to a point where I can read the cell above by creating a new column and putting the following IF statment in: =IF(A2=0,A1,A2)
    This works great, but when there's more than one blank cell in the column... yeiks, I obviously end up with another 0 in the cell, not the number a couple cells above.

    Does anyone know how to auto fill downwards blank cells?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Auto filling blank cells with a number...

    Select the column.
    Hit F5 (for Goto).>Special>Blanks
    type =
    then CNTRL UpArrow.
    Then CNTRL + ENTER
    All your blanks should have values now.
    Copy>Paste Special > Values to transform formulas to constant values.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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