Index, Match function giving #N/A error

ammykhan

Board Regular
Joined
Apr 23, 2022
Messages
54
Office Version
  1. 2021
Platform
  1. Windows
Learning vlookup, match, index function as a beginner in excel, trying to use the match function together with index function, but surprisingly without any apparent reason it is giving the error, although the same problem can be solved by using vlookup with choose function, is this the limitation of match, index function that is giving the error or I'm missing a trick to do it the right way, pls help, thanks attaching the data through mini sheet here below.
W1_V1 DataValidation.xlsx
B
13#N/A
Sheet1
Cell Formulas
RangeFormula
B13B13=INDEX(A2:C6,MATCH(B9,A2:A6,FALSE),1)
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
My excel sheet appears like this for the query asked
NameGradeSales
GarfieldABed Sheets
FeliciaBTowels
BoscoCVehicle
HelenAGrocery
FlashBWheels
Towels
Towels
#N/A​
 
Upvote 0
You are using the match on the wrong column, it should be
Excel Formula:
=INDEX(A2:C6,MATCH(B9,C2:C6,FALSE),1)
 
Upvote 0
Yes, may be the but here the data is structured in such a way that I'm required to find data on the left, and i hear that it is the advantage of combining the Match Index function that it provides us the option to do left look up as seen here in the given example.
 

Attachments

  • left lookup with index and match.png
    left lookup with index and match.png
    26.2 KB · Views: 7
Upvote 0
Here, I want to use the Sales data to extract the corresponding names of the seller, "=VLOOKUP(B9,CHOOSE({1,2},C2:C6,A2:A6),2,TRUE)" give us the result but not so the MATCH INDEX function, interested to see whether it is the limitation of this function or there is something wrong with my structured formula, because we know that INDEX MATCH function is capable to do left lookup unlike VLOOKUP function
 
Upvote 0
Have you tried the formula I suggested?
 
Upvote 0
No I think the formula you told may not work here, my search is B9 which is the Sales item i.e Towels and want to extract the seller name. Here, I need to extract data from A2:A6 and not from C2:C6, so my match function need to lookup data in A2:A6 instead of C2:C6
 
Upvote 0
so my match function need to lookup data in A2:A6 instead of C2:C6
NO it does not. What is the point in asking for help, if you don't actually try what is suggested?
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top