Weekly time management

FreAnd

New Member
Joined
Feb 8, 2022
Messages
10
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi All,

I am trying to put together a weekly time management tool in excel.
One function I want to create is to calculate the total amount of planned hours over the week.
It will look something like this,

1675004358201.png



As you see in the picture, I have the schedule for the week with the listed jobs to the far left.
On the far right side, I have the staff listed over the week with available hours.

I select a staff member for a specific job and day of the week, and by that, I have planned his
hours for the day.

Now I don't know really how to create a function that can make the connection between the two lists
and summarize the total amount of planned hours for the week.

Any tips or points in the right direction on how to approach this would be very appreciated. :)

Best regards
Fred
 

Attachments

  • 1675004228896.png
    1675004228896.png
    19 KB · Views: 11

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try this
Book1
ABCDEFGHIJKLMNOPQRST
1Available144
2Planned104
3EstimatedMondayTuesdayWednesdayThursdayFridayMTWTF
4Job 1100ConanConanConanConan88888
5Job 2200DavidDavidDavidJimmieDavid88888
6Job 316JayJimmieJay88888
7Job 440ConanJayDavidDavidJimmie88888
8
Sheet5
Cell Formulas
RangeFormula
O2O2=SUMPRODUCT(--(D4:M4=$O$4:$O$7)*8)+SUMPRODUCT(--(D5:M5=$O$4:$O$7)*8)+SUMPRODUCT(--(D6:M6=$O$4:$O$7)*8)+SUMPRODUCT(--(D7:M7=$O$4:$O$7)*8)
 
Upvote 0
Solution
Hi Skybluekid and Dave!
Thank you for your comments, much appreciated :)
If I understand your formulas correctly it assumes that there are always 8 hours available for each day?
I need it to summarise the corresponding hours and weekdays according to the right list as the available hours may vary.

I'm thinking if formulas are the easiest way to go or is there any other more suitable function in excel to manage this.?
 
Upvote 0
Hi Skybluekid and Dave!
Thank you for your comments, much appreciated :)
If I understand your formulas correctly it assumes that there are always 8 hours available for each day?
I need it to summarise the corresponding hours and weekdays according to the right list as the available hours may vary.

I'm thinking if formulas are the easiest way to go or is there any other more suitable function in excel to manage this.?
Please see below
Book1.xlsx
ABCDEFGHIJKLMNOPQRST
16
17Available144
18Planned76
19
20EstimatedMondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFridayMondayTuesdayWednesdayThursdayFriday
21Job 1100ConanConanConanConan44888
22Job 2200DavidDavidDavidJimmieDavid88488
23Job 316JayJimmieJay48848
24Job 440ConanJayDavidDavidJimmie84488
25
26Sub2081201244088
27
28
29
Weekly time management
Cell Formulas
RangeFormula
O18O18=SUM(D26:M26)
D26:M26D26=SUM(COUNTIF(D21:D24,$O$21:$O$24)*(OFFSET($O$21,,XLOOKUP(D$20,$P$20:$T$20,{1,2,3,4,5}),4)))



The highlighted row would have to be hidden
 
Last edited:
Upvote 0
FreAnd
1. why is David shown twice on Job4 on Friday?
2. Conan is shown twice on Monday. How do you intend to split his time. The formula includes his time 2 times.
3. have you considered a different way of organizing the data?
4. you could look at the newer functions like Unique VStack etc

Workday.xlsm
ABCDEFGHIJKLMNOPQRST
20EstimatedMondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFridayMondayTuesdayWednesdayThursdayFriday
21Job 1100ConanConanConanConan44888
22Job 2200DavidDavidDavidJimmieDavid88488
23Job 316JayJimmieJay48848
24Job 440ConanJayDavidDavidJimmie84488
25
282081212448
5aa
Cell Formulas
RangeFormula
D28D28=SUM(XLOOKUP(D21:D24,$O$21:$O$24,P21:P24,0,0,))
E28:F28E28=SUM(XLOOKUP(E21:E24,$O$21:$O$24,P21:P24,0,0,))
H28H28=SUM(XLOOKUP(H21:H24,$O$21:$O$24,R21:R24,0,0,))
I28:J28I28=SUM(XLOOKUP(I21:I24,$O$21:$O$24,R21:R24,0,0,))
L28L28=SUM(XLOOKUP(L21:L24,$O$21:$O$24,T21:T24,0,0,))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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