+ Reply to Thread
Results 1 to 9 of 9

Complete Missing Row Data based on Row above

  1. #1
    Registered User
    Join Date
    09-22-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    XP
    Posts
    3

    Complete Missing Row Data based on Row above

    Hi I have a imported a text file into Excel which has worked well.

    However, it consists of the employees name in row A3, and then data related to the same employee in B3 - B6.
    The next employee's name is on A7, and then data related to this employees is on B7 -B12.

    The number of rows of data per employee will vary.

    I am trying to fill the rows in column A with the name of the employee that the data relates to. so for the first employee their name will be shown in A3 : A6, and for the second their name will show in A7 : A12

    Can anyone suggest a formula where excel can see the cell is blank, and look back up the list to the find the last populated cell and use that to populate the current cell. helper columns in the spreadsheet are fine.

    Any thoughts would be very much appreciated.

    Sam

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Complete Missing Row Data based on Row above

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Complete Missing Row Data based on Row above

    > Can anyone suggest a formula where excel can see the cell is blank, and look back up the list to the find the last populated cell and use that to populate the current cell.
    This will do it for you
    Insert a new col A
    Put in A3: =B3 (assume data begins in row 3 down, which is as per your descript)
    Put in A4: =IF(B4="",A3,B4)
    Copy A4 down as far as required
    ---------------------------------------------------------
    Success? Wave it, click on the little star at the bottom left of my responses

  4. #4
    Registered User
    Join Date
    09-22-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    XP
    Posts
    3

    Re: Complete Missing Row Data based on Row above

    hope the attachment can be seen

    sample.xls
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    09-22-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    XP
    Posts
    3

    Re: Complete Missing Row Data based on Row above

    Hi Max, thanks for replying but that only works for the first or second row of data. I have now attached a sample file which may make it clearer

    Sam

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Complete Missing Row Data based on Row above


  7. #7
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Complete Missing Row Data based on Row above

    Seems to work ok for me .. Try it again?
    1. Insert 3 new cols A, B, C (as you have 3 cols to fill down from above)
    2. Put in A3: =D3
    Copy A3 across to C3
    3. Put in A4: =IF(D4="",A3,D4)
    Copy A4 across to C4, then select A4:C4 and fill down as far as required
    ---------------------------------------------------------
    Success at last? Wave it, click on the little star at the bottom left of my responses

  8. #8
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Complete Missing Row Data based on Row above

    Try

    Select A3:C16
    Give F5>SPECIAL>BLANKS>OK
    =
    ctrl+top arrow
    ctrl+enter
    Click just below left if it helps, Boo?ath?

  9. #9
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Complete Missing Row Data based on Row above

    Try

    Select A3:C16
    Give F5>SPECIAL>BLANKS>OK
    =
    ctrl+top arrow
    ctrl+enter

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macros/Finding missing and complete addresses
    By tutv088 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2014, 12:27 PM
  2. Combine Data Validation and Row auto complete based on cell values
    By deela in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-19-2013, 04:34 AM
  3. [SOLVED] Vb code To Find the missing triplets and complete the number series..?
    By sem in forum Excel Programming / VBA / Macros
    Replies: 43
    Last Post: 05-31-2012, 02:48 PM
  4. Find and complete missing times in a huge list
    By Jessica.Bush in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-05-2011, 08:34 AM
  5. Trying To Write A Complete Sentence Based On Columnar Data
    By Godzilla in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2008, 10:50 PM

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