+ Reply to Thread
Results 1 to 6 of 6

Find empty cells and use data from neighboring cells to populate a list?

  1. #1
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    Find empty cells and use data from neighboring cells to populate a list?

    Not sure if what I am to do is possible with a formula or not but here it is:

    I am trying to search column K for any empty cells and if lets say there is 8 (or however many) empty cells and one of those cells is K98, I want to take cells A98, B98 and C98 and put them into a new set of cells.

    Basically what I am trying to do is to find jobs that have not paid and create a list of them. In my spreadsheet column K contains the payment method (Cash, BACS etc.) and if this cell is empty then the client has not paid. Cells in column A have the job number, cells in column B have the date of the job and cells in column C have the address. I want to add any jobs that have not paid into a list automatically using this data. I will then have a section that displays only the jobs that are outstanding payment (if that makes sense?).

    Is there a formula that can do this?

    Thank you for any help,

    Margate

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find empty cells and use data from neighboring cells to populate a list?

    What version of Excel does this have to work in?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    Re: Find empty cells and use data from neighboring cells to populate a list?

    I am on Mac using Excel 2011

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find empty cells and use data from neighboring cells to populate a list?

    Try this...

    Let's assume you want the results starting in cell E2.

    Enter this array formula** in E2:

    =IFERROR(INDEX(A:A,SMALL(IF($K$2:$K$10="",ROW($K$2:$K$10)),ROWS(E$2:E2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Adjust the range $K$2:$K$10 to suit.

    Copy across to G2 then down until you get blanks.

  5. #5
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    Re: Find empty cells and use data from neighboring cells to populate a list?

    Thank you very much I really appreciate you helping me, I had no idea how to solve this an my formulas were just getting longer and longer!

    Regards,

    Margate : )

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find empty cells and use data from neighboring cells to populate a list?

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. Need to populate a list for printing, but wish to skip empty cells.
    By DKMullarky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2014, 05:59 PM
  2. [SOLVED] Combine Cell data when two neighboring cells are empty
    By gjones in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2013, 11:18 AM
  3. Sum Values If Data Exists In Neighboring Cells
    By tomcrocker in forum Excel General
    Replies: 1
    Last Post: 10-30-2012, 10:50 PM
  4. [SOLVED] Find Row from Combo Box List Drop Down, auto populate Other Cells
    By debson in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-23-2012, 05:04 AM
  5. Skipping Through Empty Cells to find Data
    By ih8xc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2010, 07:14 PM
  6. Replies: 2
    Last Post: 04-13-2010, 08:46 PM
  7. Replies: 6
    Last Post: 04-21-2005, 01:06 PM

Tags for this Thread

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