#N/A Error in Index/Match

kathryng

New Member
Joined
May 22, 2013
Messages
15
I am consistently receiving an #N/A Error when using an Index formula with Match.

The formula I currently have is this:
=INDEX(N2:N5,MATCH(L2,O2:O5,0))


LMNO
4A3
4V4
5M5
5D6

<tbody>
</tbody>

I want the formula to provide me the letter in column N which corresponds to O when matched against L (so, in this example, the results should be V, V, M, M).

My problem is that the formula works if I replace L2 with the actual number in the formula, but not with a reference to a cell. I've used this formula before and I have no idea what I am doing wrong.

Please advise, and if I can provide additional information, I am happy to do so. Thank you!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
it looks fine, maybe you have numbers not formatted as number but as text hence you get N/A, or some extra spaces you're not aware of
 
Upvote 0
Sounds like the numbers in column L are not really numbers, but "numbers stored as text"

Does this work?
=INDEX(N2:N5,MATCH(L2+0,O2:O5,0))
 
Upvote 0
Glad to help.

But FYI, that was really just an attempt to isolate the problem
If that worked, it means the values in L are not really numbers.

I would recommend converting them to real numbers, instead of manipulating them in the formula

Copy a blank cell
Highlight column L
Right Click - Paste Special - Values - Add - OK

Then your original formula should work.
 
Upvote 0

Forum statistics

Threads
1,217,361
Messages
6,136,104
Members
449,992
Latest member
amadams

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