Decimals adding to a lower number~

kcrudo

New Member
Joined
Dec 13, 2004
Messages
11
14.80 is the sum for each quarter, rounds to 15, but when you add 4 quarters it totals 59.20. Problem is the employees see 15 per quarter and expect the total at the end of the year to add to 60. I have even formatted the numbers as whole numbers...

P/S hours = 37
Formula to get the 14.80 - =IF(TODAY>'1/1/2011','P/S HRS',0) Answer: 14.80
Formula to get the 59.20 - =QTR1+QTR2+QTR3+QTR4

Hopfully I have explained it well....
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try using ROUND function to round to an integer, then that converts the result to that integer rather than just displaying as such, so for your Quarter formula use

=ROUND(original_formula,0)
 
Upvote 0
=Round((IF(TODAY>'1/1/2011','P/S HRS',0))

You'll have to excuse me but the cell errors with this formula
 
Upvote 0
I'm not sure your original formula is valid anyway, what's P/S HRS is that a named cell or range?

You need a zero for the ROUND function 2nd argument as well as a zero in your original, something like

=ROUND(IF(TODAY>DATE(2011,1,1),'P/S HRS',0),0)
 
Upvote 0
=ROUND(TODAY>'1/1/2011','P/S HRS',0)

Errors with "The function has the wrong number of arguments....
 
Upvote 0

Forum statistics

Threads
1,224,547
Messages
6,179,436
Members
452,915
Latest member
hannnahheileen

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