A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Report Grand Total Miscalculating Overtime



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 19th, 2010, 09:21 PM posted to microsoft.public.access.reports
Nancy via AccessMonster.com
external usenet poster
 
Posts: 27
Default Report Grand Total Miscalculating Overtime

I have a report based on a query that uses the following calculation in a
text box to calculate the total amount paid (including overtime) to an
employee:

=([On Std Hours]+[Off Std Hours] + IIF([On Std Hours]+[Off Std Hours]40, .5*
([On Std Hours]+[Off Std Hours]-40), 0)) * [Employee Data_Rate]

This formula works perfectly to total individual weekly totals. However,
whenever I use the same calculation in the report footer to calculate the
grand total which sums up every employee for the week, the grand total is a
lot higher than it should be. For example, I hand computed the total amount
paid for a week and got 30,667.74 and the report is showing 50,951.88. I'm at
a total loss of what could be causing this. Any help would be greatly
appreciated!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/201004/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.