Set value to zero when result is 0 otherwise show actual value

T

TSK

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
 
T

TSK

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)
 
P

Pete_UK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top