+ Reply to Thread
Results 1 to 2 of 2

Using Index Match results in Error

  1. #1
    Registered User
    Join Date
    01-11-2023
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    1

    Using Index Match results in Error

    Hello,

    I'm trying to use index match to return a lookup value. I want the formula to skip empty cells, and return the next filled cell while matching both row and column via index match.

    problem.PNG

    Currently, my formula to return Apple,c is:
    =INDEX($B$2:$D$4,MATCH($A7,$A$2:$A$4,0), MATCH(D$6,$B$1:$D$1,0))

    I have explored other formula like:
    =INDEX(B2:D4,MATCH(1,(A2:A4=A7)*(B1:D1=D6)*(B2:D4<>""),0))
    but it has resulted in error (#N/A).

    Seeking help to match both row and column, while skipping empty cells. Thank you!
    Last edited by kittymate; 01-11-2023 at 03:23 AM.

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,061

    Re: Using Index Match results in Error

    Try this formula in B7:=SUMPRODUCT($B$2:$D$4*($A$2:$A$4=$A7)*($B$1:$D$1=B$6)), copy across and down.

+ 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] Index match 2 cells, then drag formula to return unique results w/o leaving blank results
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2022, 03:20 PM
  2. [SOLVED] INDEX-MATCH with multiple results stops returning valid results
    By keshavtale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-01-2022, 12:24 PM
  3. [SOLVED] Index/match giving correct results, wrong results & #N/A results...sometimes
    By mrteater in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-27-2019, 10:41 AM
  4. Trying to Index match from the results of a previous index match
    By vitt4300 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2017, 09:12 AM
  5. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  6. [SOLVED] Match & Index code results in Runtime error 1004
    By DJvdW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2013, 03:52 AM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

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