Removing #N/A

mrsushi

Board Regular
Joined
Nov 18, 2006
Messages
180
Office Version
  1. 2010
Good afternoon,

I have the below formula which is doing what its supposed to. However, its flagging up #N/A as the underlying raw data isnt found.

=IF(INDEX('Paste LE22'!E:E,MATCH(B2,IF('Paste LE22'!C:C=ALL!E2,'Paste LE22'!A:A),0))=0,"Zero Holding", "None zero")

To get rid of these, i have tried using IFERROR, but the formula doesn't appear to like it.

Any ideas please?

Regards
M
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
=IFNA(IF(INDEX('Paste LE22'!E:E,MATCH(B2,IF('Paste LE22'!C:C=ALL!E2,'Paste LE22'!A:A),0))=0,"Zero Holding", "None zero"),"")
 
Upvote 0
How exactly have you been trying to implement IFERROR?
You should try it like this:

=IFERROR(IF(INDEX('Paste LE22'!E:E,MATCH(B2,IF('Paste LE22'!C:C=ALL!E2,'Paste LE22'!A:A),0))=0,"Zero Holding", "None zero"),"")
 
Upvote 0
Solution
=IFNA(IF(INDEX('Paste LE22'!E:E,MATCH(B2,IF('Paste LE22'!C:C=ALL!E2,'Paste LE22'!A:A),0))=0,"Zero Holding", "None zero"),"")
The only problem with that is if their profile is accurate, and they are really using Excel 2010, the IFNA function was not added until after that, so it would not be available to them (IFNA function - Microsoft Support.).
 
Upvote 0
How exactly have you been trying to implement IFERROR?
You should try it like this:

=IFERROR(IF(INDEX('Paste LE22'!E:E,MATCH(B2,IF('Paste LE22'!C:C=ALL!E2,'Paste LE22'!A:A),0))=0,"Zero Holding", "None zero"),"")
That's perfect. I had missed out the (IF part

Many thanks for your help.
M
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,957
Members
449,200
Latest member
indiansth

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