+ Reply to Thread
Results 1 to 3 of 3

Autofill blank cells

Hybrid View

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Autofill blank cells

    Hi,
    I have a column of names with some spaces e.g. A1: BROWN, A2:empty, A3:empty, A4:SMITH, A5: empty, A6:JONES etc. All the empty cells have the same name as the one above i.e. A2 and A3 should also read "BROWN". A5 should read "SMITH" and so on down the column. Is there away to create a formula that does this automatically. I've tried a simple if command in a duplicate column which looks at the first column and tests for a blank - if it finds one it enters the name from the cell above - but this only works once and some of the empty spaces need to be filled more than once e.g. A2 & A3 above.
    Hope I've made myself clear.
    any help greatly appreciated
    Last edited by tuganne1; 07-08-2009 at 01:57 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Autofill blank cells

    Hi Tuganne,

    If your values are in A1:A20, then in B1 put the formula

    =A1

    Then in B2, put the formula

    =IF(A2="",B1,A2)

    Fill that down to B20 and you should have your new list.

  3. #3
    Registered User
    Join Date
    04-30-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Autofill blank cells

    simple. many thanks

+ 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