Hi JP, I am not getting that result if the G8 is the result of a vlookup returning #N/A because OR(G8=0,ISNA(G8),AB8>=0) evaluates to OR(#N/A,TRUE,TRUE) which returns #N/A and OR(G8=0,G8=#N/A,AB8>=0) which evaluates to OR(#N/A,#N/A,TRUE) which also returns #N/A.
I can't find the workbook I used the other day when I first answered. But I've recreated it in this screenshot.
The formulas I've posted (shown in column D) return #N/A and not zero if there is a #N/A error in G8. It must have been late at night, or perhaps I wrote different formulas than I posted. The Jonmo formula in column E returns zero if G8 is #N/A.
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.