Rounding issue

daanderson

New Member
Joined
Jul 6, 2007
Messages
10
Hi, I have been struggling with a problem and hoping someone can help me. I have an extensive workbook with numerous formulas, pivot tables, etc. One thing feeds off another and so on. I have had a number of issues with it and have always been able to get help here, so here goes...

My current problem is rounding. A lot of my calculations take an hour amount times a rate. This information is "sucked out" as values and forwarded to another agency. When they pull this information into their database, we are coming up with 1 cent and 2 cent variances - which is a show stopper and needs to be redone. I have tried changing to "precision as displayed", turning "precision as displayed" off (seems to get a little more accurate actually - but not enough).

Is there anything I can include in a formula to make this stop? To stop at the 2 decimal places and do not include anything past that?

I am on my fifth submission of this report for pennies! :-D

Thanks a bunch for any help!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Have you tried rounding formulas ?

Your options are basically
Roundup - 3.2 becomes 4
Rounddown - 3.8 becomes 3
Round - 3.2 becomes 3 and 3.8 becomes 4.

You need to decide yourself which one suits your application, but once you've decided, this should help you.
 
Upvote 0
Sorry I was oversimplifying.

As Andrew Poulsom alluded to, you have more detailed options.

For example, round(1.234,0) will return 1.
But round (1.234,2) will return 1.23 and so on.
 
Upvote 0
Also note that if you use ROUNDUP and ROUNDDOWN, negative numbers will do the opposite. There are ways around this, it just depends on what you need.

With =ROUNDUP(A1,0) for example:
3.8 becomes 4
-3.8 becomes -4
 
Upvote 0

Forum statistics

Threads
1,222,383
Messages
6,165,656
Members
451,983
Latest member
Raph24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top