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)
 
Dear, my lookup column is Column A, how it will give me the result if I have mentioned the wrong column in MATCH function, it is futile for me to try it as I know it will not give me the result, the formula below does exactly the same i.e it is giving me Felicia, the seller name which is what I need to find, MATCH(B9,C2:C6,FALSE) will lookup the data in Column C i.e the Sales List
=VLOOKUP(B9, CHOOSE({1,2}, C2:C6, A2:A6),2,FALSE)
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
it is futile for me to try it as I know it will not give me the result
If you know that so well, why did you ask the question?
If you want help, then please try what is suggested, rather than dismissing it out of hand as you know better than us.
As I have said before the formula does EXACTLY what you have asked.
 
Upvote 0
Upon your insistence I tried it and as expected I'm getting #REF error, attaching the ss for your reference.
 

Attachments

  • image_2022-05-14_174921388.png
    image_2022-05-14_174921388.png
    128.4 KB · Views: 7
Upvote 0
That is not the formula I suggested, you are missing the 1 from the end.
 
Upvote 0
The other option is
Excel Formula:
=INDEX(A2:A6,MATCH(B9,C2:C6,FALSE))
Both formulae do the same thing.
 
Upvote 0
Solution
Dear sir, I'm asking to get clarification regarding the MATCH INDEX function, it is annoying for us to get #N/A we're curious to get rid of the this nasty error. I asked that although Match Index function enable us to lookup on the left side, then why it is returning the #N/A error, I'm confused about the usage of MATCH INDEX function, to get my answer I need support from the Excel guru like you to help me out.
 
Upvote 0
OK, yes thank you it worked, you're right I got it now ,thank you so much dear
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
I didn't see the 1 at the end, which made me believe that it will not give me the required result. thanks for the help
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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