I need to provide annual hours worked between the Employee Hire Date and the Employee first year Anniversary Date and then list recurring one year totals as each year passes based on the Anniversary Date. Year 1 total hours worked starting from hire date to anniversary date = Total Hours Worked. Next total would be from Year 2 Anniversary date to the end of the 2nd fiscal year = Total Hours worked for the new one year period and so forth to current date. So in short annual summary of hours worked based on a fiscal year using the employee's hire date
Here's an example:
Employee: Kathy
Hire Date: 3-16-1999
Received the following checks
3-20-99 reg hours: 80
4-4-99 reg hours: 80
5-4-99 reg hours: 80
2-10-01 reg hours: 80
2-24-01 reg hours: 80
12-10-01 reg hours: 80
1-31-02 reg hours: 80
3-10-02 reg hours: 80
4-10-02 reg hours: 80
12-15-02 reg hours: 80
todays date is 12-31-02
Need the data to be grouped by the employee's anniversary date:
Kathy
3-16-99 to 3-15-00
240 hours
3-16-00 to 3-15-01
160 hours
3-16-01 to 3-15-02
240 hours
Employee: Dan
Hire Date: 6-1-00
Received the following checks
7-1-00 reg hours: 80
8-4-00 reg hours: 80
9-4-00 reg hours: 80
3-10-01 reg hours: 80
5-24-01 reg hours: 80
9-10-01 reg hours: 80
1-31-02 reg hours: 80
5-10-02 reg hours: 80
6-10-02 reg hours: 80
8-15-02 reg hours: 80
todays date is 12-31-02
Dan
6-1-00 to 5-31-01
400 hours
6-1-01 to 5-31-02
240 hours
6-1-02 to 5-31-03
160 hours
The hire date is stored in the table {Employee.HireDate}
The payroll hours are stored in another table {Journal.PRHours}
The payroll check dates are stored in the same table as the hours {Journal.TransactionDate}
My problem is creating a formula that I can use to group and total the annual hours worked. I am using Crystal 9.0 and Peachtree Accounting 2007.
Here's an example:
Employee: Kathy
Hire Date: 3-16-1999
Received the following checks
3-20-99 reg hours: 80
4-4-99 reg hours: 80
5-4-99 reg hours: 80
2-10-01 reg hours: 80
2-24-01 reg hours: 80
12-10-01 reg hours: 80
1-31-02 reg hours: 80
3-10-02 reg hours: 80
4-10-02 reg hours: 80
12-15-02 reg hours: 80
todays date is 12-31-02
Need the data to be grouped by the employee's anniversary date:
Kathy
3-16-99 to 3-15-00
240 hours
3-16-00 to 3-15-01
160 hours
3-16-01 to 3-15-02
240 hours
Employee: Dan
Hire Date: 6-1-00
Received the following checks
7-1-00 reg hours: 80
8-4-00 reg hours: 80
9-4-00 reg hours: 80
3-10-01 reg hours: 80
5-24-01 reg hours: 80
9-10-01 reg hours: 80
1-31-02 reg hours: 80
5-10-02 reg hours: 80
6-10-02 reg hours: 80
8-15-02 reg hours: 80
todays date is 12-31-02
Dan
6-1-00 to 5-31-01
400 hours
6-1-01 to 5-31-02
240 hours
6-1-02 to 5-31-03
160 hours
The hire date is stored in the table {Employee.HireDate}
The payroll hours are stored in another table {Journal.PRHours}
The payroll check dates are stored in the same table as the hours {Journal.TransactionDate}
My problem is creating a formula that I can use to group and total the annual hours worked. I am using Crystal 9.0 and Peachtree Accounting 2007.