Decimal Places

G

Guest

I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01 or
more?

Thanks.
 
D

Dave Peterson

maybe...
=if(abs(C43=Z42)<.01,"",C43-Z42)

You may want to add round to the else portion, too:
=if(abs(C43=Z42)<.01,"",round(C43-Z42,2))

(or not)
 

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