#### srizki

##### Well-known Member
=IF(ISNA(INDEX(E5:E455,MATCH(A5,D5:D455,0))))

thanks

### Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
What do you want this to return?

You don't have the second or third arguments of your IF formula filled in...

I am comparing two columns, but I do not want #N/A error, that produces if value is not found, the main thing I want to learn is how can I avoid #N/A error using Match function.
I am using this =INDEX(\$F\$2:F\$454,MATCH(\$A519,\$E\$2:\$E\$454,0))
and this gives me the error, but when I use this
=IF(ISNA(VLOOKUP(\$D66,\$A\$4:\$B\$95,2,0)),0,(VLOOKUP(\$D66,\$A\$4:\$B\$95,2,0)))
that is fine, I just like to know how can I avoid #N/A error.
Thanks Oaktree.

Maybe this?

=IF(ISNA(MATCH(\$A519,\$E\$2:\$E\$454,0)),0,INDEX(\$F\$2:F\$454,MATCH(\$A519,\$E\$2:\$E\$454,0)))

Yes Seti, I worked, I learned something new today.
thanks to both of you. and thank to MR. EXCEL

Question: why there is no "0" in both of those Match functions.
thanks

In fact it does not even accept zero. why is that.?

Question: why there is no "0" in both of those Match functions.
thanks

Isn't there?

In Seti's formula...
=IF(ISNA(MATCH(\$A519,\$E\$2:\$E\$454,0)),0,INDEX(\$F\$2:F\$454,MATCH(\$A519,\$E\$2:\$E\$454,0)))

Sorry Oaktree, I did not see that.

Sorry Oaktree, I forgot to put zero in my formula.
thanks

Replies
1
Views
195
Replies
4
Views
153
Replies
0
Views
180
Replies
8
Views
408
Replies
2
Views
285

1,217,682
Messages
6,137,961
Members
450,101
Latest member
Mrupe86

### 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.

### Which adblocker are you using?

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

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