+ Reply to Thread
Results 1 to 8 of 8

Index Match return first non blank value

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Index Match return first non blank value

    I've tried to search other posts, but to no avail. I know I need an index match and have tried several iterations, but have not had any positive results.

    I am looking to essentially vlookup, but one which returns the first non "" cell that matches the reference cells in column L in the attached file.

    The file has been "spoofed" but the essential idea is that these are inspections and there will never be more than 1 entry for an inspection result (columns D:I) each "program."

    https://www.dropbox.com/s/gy7eullmv4...uest.xlsx?dl=0

    The attachments feature doesn't seem to be working for me so above is a link to the example file for what I'm trying to accomplish

    MANY thanks in advance!!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Index Match return first non blank value

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Index Match return first non blank value

    Looks like I had to switch to IE instead of Firefox. Thanks!
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,986

    Re: Index Match return first non blank value

    There is no problem with Firefox - I am using it and am able to attach files.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,986

    Re: Index Match return first non blank value

    In M2:

    =IFNA(INDEX(D$2:D$11,MATCH(1,--($A$2:$A$11=$L2)*--(D$2:D$11<>""),0),1),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once confirmed, drag copy across and down.
    Last edited by AliGW; 08-08-2017 at 08:26 AM.

  6. #6
    Registered User
    Join Date
    09-22-2011
    Location
    san diego
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Index Match return first non blank value

    Thank you so much! Works Great! Now that I see how you did that, I think I will be able to do these on my own.

    Thanks Again!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,986

    Re: Index Match return first non blank value

    You're welcome!

  8. #8
    Registered User
    Join Date
    02-11-2013
    Location
    Kabul
    MS-Off Ver
    Excel 2010
    Posts
    3

    Thumbs up Re: Index Match return first non blank value

    Thank You.
    That was exactly what I wanted.

+ 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. [SOLVED] Using INDEX MATCH formula to return values that will skip blank cells
    By mark_luke in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-12-2017, 06:11 PM
  2. [SOLVED] INDEX/MATCH or Equivalent to Return Data with Blank Cells
    By bcathell in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-28-2017, 01:57 PM
  3. 2-dimensional index match, return nth non-blank value?
    By JMB10101 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-29-2016, 01:55 AM
  4. [SOLVED] IF <=0 INDEX MATCH LARGE otherwise return blank
    By augr in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 11-14-2016, 05:34 PM
  5. 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
  6. Index/Match to return a blank cell
    By Nick_in_Dubai in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-26-2012, 06:36 AM
  7. Replies: 2
    Last Post: 10-21-2011, 01: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