How to Report on Time by Month/Year when time data only shows week start date and time by Days in the week

Kosmicki

New Member
Joined
Jan 27, 2025
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I've been noodling on this for months and can't figure out the best way to handle. Timecard data is reportable by project, resource, task and timecard start date (always a Sunday). The hours are entered on days of the week, i.e. Sunday Hours, Monday Hours, Tuesday Hours, etc. We need to report on time by project by task per month/year. Since each row contains all the time, I can't create a pivot (as for that each "Day" would need its own row. I don't want to pivot based on Start Date as a week may cross a period (month). Any thoughts or solutions?
 

Attachments

  • Mr Excel Question.PNG
    Mr Excel Question.PNG
    129.6 KB · Views: 4

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Turn it into data (like this) and then you should be able to do what you want with it with more filtering.
MrExcelPlayground23.xlsx
ABCDEFGHIJKLMNOPQRST
1ProjectResourcetimeshhetIDTS start dateTaskTotSundayMondayTuesdayWednesdayThursdayFridaySaturdayProjectResourceTaskDateHours
2Ar112/31/202312.750010.2510.50Br2212/30/20241
3Ar112/31/202311.25000.7500.500Ar331/1/20242
4Br212/29/202424.5010210.50Ar441/1/20241
5Ar312/31/202335.502210.500Ar531/1/20242
6Ar412/17/202343.50010.5020Ar531/8/20243
7Ar412/24/202343.5000.50210Ar551/8/20245
8Ar412/31/202344.5010210.50Ar111/8/20241
9Ar512/31/202335.502210.500Ar111/2/20241
10Br512/31/202353.50010.5020Ar111/2/20240.75
11Ar21/5/202523.5000.50210Ar331/2/20242
12Cr11/5/202513.5000210.50Ar4412/19/20231
13Ar51/5/202563.500210.500Ar4412/26/20230.5
14Ar51/7/202436.50310.5020Ar531/2/20242
15Ar51/7/202458.5050.50210Br551/2/20241
16Ar11/7/202414.5010210.50Ar221/7/20250.5
17Cr11/7/202413.500210.500Ar561/7/20252
18Ar531/9/20241
19Ar551/9/20240.5
20Cr111/9/20242
21Ar111/3/20240.25
22Br221/1/20252
23Ar331/3/20241
24Ar4412/20/20230.5
25Ar441/3/20242
26Ar531/3/20241
27Br551/3/20240.5
28Cr111/8/20252
29Ar561/8/20251
30Ar531/10/20240.5
31Ar111/10/20242
32Cr111/10/20241
33Ar111/4/20241
34Ar111/4/20240.5
Sheet30
Cell Formulas
RangeFormula
P2:T56P2=LET(a,CHOOSECOLS(A2:M17,1,2,5),b,D2:D17,c,TOCOL(G2:M17,,TRUE),d,VSTACK(b,b+1,b+2,b+3,b+4,b+5,b+6),e,VSTACK(a,a,a,a,a,a,a),f,HSTACK(e,d,c),FILTER(f,c<>0))
F2:F17F2=SUM(G2:M2)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,226,017
Messages
6,188,441
Members
453,474
Latest member
th9r

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