Rolling 26 Week (6 Month) Compensatory Time Tracker with dates and associated information that roll off based on =today() function

will7789

New Member
Joined
Jan 27, 2015
Messages
1
I am trying to put together a Comp Time tracker for use around our office for people to track their comp time individually for salaried workers that work over 40 hours. In cell A1 is =today() so that each time the spreadsheet is opened it displays today's date.

There are 4 column headings (A2:D2) and are labeled thus:
Week Number / Week Ending / Hours Accrued / Hours Used

There are then 26 rows below these column headings (A3:D28) representing 26 weeks or 6 months of data.

The end goal is to have input data for Hours Accrued and Hours Used to roll off of the spreadsheet as they expire to keep a rolling tally of what comp time is remaining by subtracting the sum of the inputs from range D3:D28 (Hours Used) from range C3:C28 (Hours Accrued) giving a constant result of hours remaining.

In cell B3 under Week Ending, the first week ending input is: =A1+7*1-WEEKDAY(A1+7-7) hearkening back to today's date =today() from A1 and giving me the Saturday at the end of the current work week. B4 is=B3-7, to give me the date of 7 days prior or the Saturday date of B3. This is copied down to B28 to give me all of the last 26 Saturday's in descending sequence.

In cell A3 is =WEEKNUM(B3). This is copied down to A28 to give me week numbers of the year for the Saturdays that each work week ends on.

I'm trying to find a formula to associate the manual inputs with a their associated week number that will move down the list as the =today() in cell A1 is updated as the days and weeks pass until it expires after 26 weeks at which time the week number and it's accompanying manual inputs of hours are rolled off the sheet or deleted.

I'm also trying to populate 0.00 automatically in the cells for Hours Accrued and Hours Used until they are changed by the user with their own overtime hourly input.

I am looking for formulas to solve this however I am slightly familiar with the Visual Basic Editor, so I am open to a solution in that manner.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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