Rounding calculation to ONLY two deci places

M

Mustang

I have a simple calculation in a workbook for sales taxes. I need the
answer to the calculation to be rounded to only two decimal places.
Right now I have the -visibile- number to be two places, but the "real"
number (i.e. if you Paste Special'd the cell) has an infinite number of
decimal places. This screws up a 2nd calculation I have, as it says
there's a variance when there really isn't...

Any ideas on how to make the "behind the scenes" number round to only
two places?
 
M

Mustang

That's perfect! Now I have to play with the IF statement to see if I
can incorporate that instead of having another column... Any ideas,
while I'm looking at it too? This is what's in the cell already:

=IF(L20="",I20*0.06,I20*0.07)
 
D

Dave Peterson

One way:

=IF(L20="",ROUND(I20*0.06,2),ROUND(I20*0.07,2))

or

=ROUND(I20*IF(L20="",0.06,0.07),2)
 

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

Similar Threads

Rounding question 9
Excel Stop Excel from displaying rounded values 4
rounding 4
How do I stop rounding of my calculation results. 6
Rounding 3
rounding a calculation 2
Rounding problem 9
Ever come across (0.00)? 5

Top