Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
Cell C1 - Reflect 0 or actual number different after b/a
When cell A1 - 0 When cell B1 - 0 Then cell C1 = 0 instead of #DIV/0! When cell A1 - 5 When cell B1 - 100 Then cell C1 = 20 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
Try this in C1:
=IF(A1=0,0,B1/A1) Hope this helps. Pete On May 5, 10:31*am, TSK wrote: Cell C1 - Reflect 0 or actual number different after b/a When cell A1 - 0 When cell B1 - 0 Then cell C1 = 0 instead of #DIV/0! When cell A1 - 5 When cell B1 - 100 Then cell C1 = 20 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
=IF(ISERROR(B1/A1),0,B1/A1)
-- Gary''s Student - gsnu200784 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
Hi Gary,
Thank you for the helped but how do I applied together with round up function? Currently my fomula in cell c as follow cell c = roundup(B1/A1,2) "Gary''s Student" wrote: =IF(ISERROR(B1/A1),0,B1/A1) -- Gary''s Student - gsnu200784 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
Why do you keep asking the same question in multiple threads? Try
this: =IF(A1=0,0,ROUNDUP(B1/A1,2)) Hope this helps. Pete On May 5, 10:52*am, TSK wrote: Hi Gary, Thank you for the helped but how do I applied together with round up function? Currently my fomula in cell c as follow cell c = roundup(B1/A1,2) |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Set value to zero when result is 0 otherwise show actual value
We will combine the formulas:
= roundup(IF(ISERROR(B1/A1),0,B1/A1),2) -- Gary''s Student - gsnu200784 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Changing Cell contents from formula to the actual result | Excel Discussion (Misc queries) | |||
Switching Between Showing Formula Or Actual Result In A Cell ? | New Users to Excel | |||
How to show actual values in a pivot grap/table | Charts and Charting in Excel | |||
Advanced formula - Return result & Show Cell Reference of result | Excel Worksheet Functions | |||
Help me Please!! Need hyperlinks to show actual email address! | New Users to Excel |