Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
When I'm calculating for a % I entered the IF formula =IF(B10=0,"",B10/C10)
and it worked ok when B10 was 0 but how would you modify this formula if either B10 or C10 were 0? The result can display 0 for my purposes. Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try it like this...
=IF(OR(B10=0,C10=0),0,B10/C10) -- Biff Microsoft Excel MVP "Reverand Mooney" wrote in message ... When I'm calculating for a % I entered the IF formula =IF(B10=0,"",B10/C10) and it worked ok when B10 was 0 but how would you modify this formula if either B10 or C10 were 0? The result can display 0 for my purposes. Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
=IF(B10=0,"",IF(C10=0,0,B10/C10)) If this post helps click Yes --------------- Jacob Skaria "Reverand Mooney" wrote: When I'm calculating for a % I entered the IF formula =IF(B10=0,"",B10/C10) and it worked ok when B10 was 0 but how would you modify this formula if either B10 or C10 were 0? The result can display 0 for my purposes. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - error saving file & error loading dll | Excel Discussion (Misc queries) | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) |