+ Reply to Thread
Results 1 to 5 of 5

Index Match Finding First Non Blank

  1. #1
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Index Match Finding First Non Blank

    In Column A, I have a unique key. Column L is where I need the formula.

    I'd like the formula to find the unique key in A2 in Tab2 of the spreadsheet in Column D - then return the FIRST non - blank value in Tab2 Column AA. I know it's an index match. =INDEX(Tab2!AA:AA,MATCH(A2,Tab2!D:D,0)) but can't figure out where to put the ISBLANK

    Thanks,

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Index Match Finding First Non Blank

    Hi,

    This doesn't make sense. The Match will return whichever row contains the A2 value in column D. So mention of the first non blank in column AA is irrelevant since with the Index function you'll find the specific row number identified by the Match

    Maybe you need to upload the workbook and manually add some typical results so that we can see what you mean. Maybe you want to find the first non blank cell in column AA AFTER the Match row, but I'm guessing here.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Re: Index Match Finding First Non Blank

    Sheet 1 shows what i want the final value to be. Column L is where the formula would be, matching back to sheet2 to find the same ID18 and returning the campaign that is not blank.

    Thanks
    Attached Files Attached Files

  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: Index Match Finding First Non Blank

    This array formula** entered in L2 and copied down:

    =INDEX(Sheet2!AA:AA,SMALL(IF((Sheet2!D$2:D$12=A2)*(Sheet2!AA$2:AA$12<>""),ROW(Sheet2!AA$2:AA$12)),1))

    ** 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.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Index Match Finding First Non Blank

    ..or another way using just a Pivot Table
    Attached Files Attached Files

+ 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. Index/ Match Formula, How to return blank cell as a blank not 0
    By MDResearcher in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2016, 08:40 PM
  2. [SOLVED] Finding second to last value using vlookup match or index match...
    By gr8spot in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-20-2015, 03:32 PM
  3. [SOLVED] Finding MAX value with Index Match in list of questions
    By hc91 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-01-2015, 09:07 AM
  4. index match, ..... skip result if blank value ...... jump to next match
    By gehawk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2013, 04:42 AM
  5. [SOLVED] INDEX - Finding the NEXT non-blank column
    By dluhut in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-16-2013, 04:02 AM
  6. Index Match: Show blank instead of #NA for no match
    By cedarhill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2011, 03:21 PM
  7. Index/Match Finding Max
    By windme in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2011, 12:41 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