Hi,
Details:
tblTIMESHEETDATA
Fields:
WRKDAY (format date/time-short date)
SUBNAME
PROJECT
ACTIVITY
ENGDESC
HOURS
What I need is a query that will sum hours by SUBNAME/PROJECT/ACTIVITY grouping. This would be easy;
EXCEPT I need the hours grouped and summed based on pay periods. The pay period is always the 1-15th and the 16th-last day of month.
So if John Doe worked the following (for ease assume it is same project/activity):
1/4 2 hours
1/7 3 hours
1/18 1 hour
1/25 2 hours
2/14 4 hours
2/27 1 hours
3/28 6 hours
I would need a query that gave the following:
Period ending 1/15 5 hours
Period ending 1/31 3 hours
Period ending 2/15 4 hours
Period ending 2/28 1 hour
Period ending 3/31 6 hours
Any assistance is greatly appreciated.
Thank you so much!
Lisa
Details:
tblTIMESHEETDATA
Fields:
WRKDAY (format date/time-short date)
SUBNAME
PROJECT
ACTIVITY
ENGDESC
HOURS
What I need is a query that will sum hours by SUBNAME/PROJECT/ACTIVITY grouping. This would be easy;
EXCEPT I need the hours grouped and summed based on pay periods. The pay period is always the 1-15th and the 16th-last day of month.
So if John Doe worked the following (for ease assume it is same project/activity):
1/4 2 hours
1/7 3 hours
1/18 1 hour
1/25 2 hours
2/14 4 hours
2/27 1 hours
3/28 6 hours
I would need a query that gave the following:
Period ending 1/15 5 hours
Period ending 1/31 3 hours
Period ending 2/15 4 hours
Period ending 2/28 1 hour
Period ending 3/31 6 hours
Any assistance is greatly appreciated.
Thank you so much!
Lisa