Correct my formula please

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,851
Office Version
  1. 365
Platform
  1. Windows
=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...
 
Upvote 0
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.
 
Upvote 0
Maybe this?

=IF(ISNA(MATCH($A519,$E$2:$E$454,0)),0,INDEX($F$2:F$454,MATCH($A519,$E$2:$E$454,0)))
 
Upvote 0
Yes Seti, I worked, I learned something new today.
thanks to both of you. and thank to MR. EXCEL
 
Upvote 0
Question: why there is no "0" in both of those Match functions.
thanks
 
Upvote 0
In fact it does not even accept zero. why is that.?
 
Upvote 0
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)))
 
Upvote 0
Sorry Oaktree, I did not see that.
 
Upvote 0
Sorry Oaktree, I forgot to put zero in my formula.
thanks
 
Upvote 0

Forum statistics

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