ISERROR formula

ron.bo

Board Regular
Joined
Mar 15, 2011
Messages
129
Office Version
  1. 2007
Platform
  1. Windows
I have a simple formula problem, but I am stuck. I need a formula to return "", if the cell is an error (#DIV0!) or 0. If not return the value.

Thanks,
Ronbo
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
:( Works for me:

UgZvCK9.png
[/URL][/IMG]


Sorry my excel is not in english.
 
Upvote 0
OOOOOhhh, maybe you're using ISERROR instead of IFERROR.

ISERROR is Boolean, will only tell you if it is an error or not. IFERROR allows you to do something else if it is an error.
 
Upvote 0
That is strange. I do the exact example and mine bombs on the 0 of A2=0.
 
Upvote 0
Really strange...

Maybe =IF(ISERROR(C2);"";IF(C2=0;"";C2)) could work?

Edit: You could try IF ISNUMBER AND <> 0 as well...
 
Last edited:
Upvote 0
I am using IFERROR as well as IF,IF,AND,OR,ISERROR etc. I can get a lot of combinations to work with <0 but not with #DIV0!. Here is my last try which works but not with #DIV0!... =IF(OR(CB41<0,ISERROR(CB41)),"",CB41)
 
Upvote 0
The last formula also results in and error. All I need to do is combine two formulas, =IFERROR(BO24,"") + =IF(BO24<0,"",BO24)
 
Upvote 0

Forum statistics

Threads
1,215,830
Messages
6,127,134
Members
449,361
Latest member
VBquery757

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