# Help with iserror

#### gordyzx9r

##### New Member
Trying to help out a friend with an excel issue:

I'm trying to make the following command return \$0.00 if it returns a value of less than .005 or if it returns an error. I keep getting a divide by zero error and I cannot figure out where to put my closing paren to make it work properly.

The OR operand is (supposed to be) making it so that if I get an error OR I have an answer that is less than 0.005 then I should be giving a response of \$0.00.

=IF(OR((ISERROR(C7/(C11-C13))),(C7/(C11-C13))<.005),"\$0.00"),(C7/(C11-C13))

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

#### Jonmo1

##### MrExcel MVP
Try

=IF(C11-C13=0,0,IF(C7/(C11-C13)<.005,0,C7/(C11-C13)))

#### Domski

##### Well-known Member
Try:

=IF(OR(ISERROR(C7/(C11-C13)),C7/(C11-C13<0.005)),0,C7/(C11-C13))

Dom

#### gordyzx9r

##### New Member
Try

=IF(C11-C13=0,0,IF(C7/(C11-C13)<.005,0,C7/(C11-C13)))

Thanks, that worked perfect for his needs.

Replies
3
Views
1K
Replies
4
Views
134
Replies
7
Views
127
Replies
9
Views
184
Replies
1
Views
222

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,712
Messages
5,833,267
Members
430,200
Latest member

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