Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have 3 columns of data; A, B and C.
The formula for column C is = (A-B)/B If column A is 0, then the result is -100% If both column A and column B is 0 the result is #DIV/0! What formula do I use so that when the answer is -100%, it says this, but when the answer is #DIV/0!, I get a blank? I'm trying is =if(iserror((a-b)/b),"",(a-b/b)) but I get blanks even if the answer is -100%. Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
James,
=IF(B1=0," ",(A1-B1)/B1) "James Hamilton" wrote: I have 3 columns of data; A, B and C. The formula for column C is = (A-B)/B If column A is 0, then the result is -100% If both column A and column B is 0 the result is #DIV/0! What formula do I use so that when the answer is -100%, it says this, but when the answer is #DIV/0!, I get a blank? I'm trying is =if(iserror((a-b)/b),"",(a-b/b)) but I get blanks even if the answer is -100%. Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Go to tools and click conditional formatting. Click on the drop down
list and select "Formula is" then type this in the text box next to it =ISERROR(C3) Then click format button and click the color drop down box and select white. (Even if the orginal color of the color drop down box is white still click on it and select white or it will not work) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excellent. Many thanks.
I actually worked it out the same as below. Cheers. "Justloseit" wrote: Go to tools and click conditional formatting. Click on the drop down list and select "Formula is" then type this in the text box next to it =ISERROR(C3) Then click format button and click the color drop down box and select white. (Even if the orginal color of the color drop down box is white still click on it and select white or it will not work) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you write an if statement that replaces #DIV/0! with 0 | Excel Discussion (Misc queries) | |||
How to hide #DIV/0! in cells waiting for input? | Excel Discussion (Misc queries) | |||
SET statement tutorial | Excel Discussion (Misc queries) | |||
If statement | Excel Discussion (Misc queries) | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |