+ Reply to Thread
Results 1 to 7 of 7

Formula to pull data from left column next to the 1st blank cell in the right column

  1. #1
    Registered User
    Join Date
    01-11-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Formula to pull data from left column next to the 1st blank cell in the right column

    I am trying to tell my cell to pull data from another worksheet from column A based on the first empty cell in column B.

    A B
    28,000 Done During Previous Contract
    30,000 Billable to the Customer
    SP30K Not Done
    32,000 33,119
    34,000 Not on Inv
    36,000 37,018
    38,000
    40,000

    My Desired result is 38000, however once the cell in column B next to 38000 is filled in my desired result would be 40000, etc.
    This is the closest I go but it not working correctly...
    {=INDEX(B3:B24,MATCH(TRUE,C3:C24="",0))}
    I am looking for and excel formula not a macro. Thanks!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    Try this ARRAY formula.

    =index(b3:b24,small(if(c3:c24="",row(b3:b24)-2),row(b1)))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    01-11-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    Quote Originally Posted by Fotis1991 View Post
    Try this ARRAY formula.

    =index(b3:b24,small(if(c3:c24="",row(b3:b24)-2),row(b1)))
    Thank you so much for replying but this gave me the result 0 with array and 34000 without. I put it into a small spreasheet. Any other suggestions. This one is really racking my brain.
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    It's because of your merged cells(rOWS 5 &6). Array formulas don't like merged cells.....

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    A non array solution after unmerging
    Please Login or Register  to view this content.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,452

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    Try this with range include merging:
    Please Login or Register  to view this content.
    Confirmed with Ctrol-Shift-Enter
    Quang PT

  7. #7
    Registered User
    Join Date
    01-11-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula to pull data from left column next to the 1st blank cell in the right column

    Quote Originally Posted by Fotis1991 View Post
    It's because of your merged cells(rOWS 5 &6). Array formulas don't like merged cells.....
    Wonderful!! Thanks again!

+ 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