Iserror

Ranger32195

Board Regular
Joined
Feb 4, 2009
Messages
131
Hi,

Could anyone tell me how to put an ISERROR in to the following formula:

=IF(OR(ABS((+C3-A3)/A3)>=50%,ABS((+C3-A3)/A3)<=-50%),"Explanation Required","OnTrack")

Basically, if the value of A3 is 0 I get a DIV/0 error when in fact it should be returning "Explanation Required"

Thanks in advance
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

SteveO59L

Well-known Member
Joined
Apr 21, 2004
Messages
7,899
=IF(iserror(OR(ABS((+C3-A3)/A3)>=50%,ABS((+C3-A3)/A3)<=-50%)),"Explanation Required","OnTrack")
 
Upvote 0

Seti

Well-known Member
Joined
May 19, 2002
Messages
2,916
Try this:

=IF(A3=0,"Explanation Required",IF(OR(ABS((+C3-A3)/A3)>=50%,ABS((+C3-A3)/A3)<=-50%),"Explanation Required","OnTrack"))
 
Upvote 0

Colin Legg

MrExcel MVP
Joined
Feb 28, 2008
Messages
3,497
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I'm curious as to when this part of the formula could return TRUE?
Code:
ABS((+C3-A3)/A3)<=-50%

So that would lead to....
Code:
=IF(A3,IF(ABS((C3-A3)/A3)>=50%,"Explanation Required","OnTrack"),"Explanation Required")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,191,386
Messages
5,986,315
Members
440,017
Latest member
vasanrajeswaran

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
Top