Schedule Heatmap creation

matmakay

New Member
Joined
Oct 13, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am trying to sum up the number of people working in a specific time interval and day.. But I cannot seem to get my formula to work.

Column A = Name (Manual input)
Column B:H is days they are working (Manual input)
Column I:J Start/End times (Manual input)

I need formula in Columns M:U

Help! :)

=SUMIFS(B4:B38,I4:I38,"=>"&L9,J4:J38,"<"&L10)
1634159789062.png
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Welcome to the MrExcel forum!

Try:

Book1 (version 1).xlsb
ABCDEFGHIJKLMNOPQRS
1
2
3NameSunMonTueWedThuFriSatSTARTSTOPSunMonTueWedThuFriSat
4Bob111118:00 AM5:00 PM6:00 AM0000000
5Sues111117:00 AM4:00 PM6:30 AM0000000
6Larry111118:00 AM5:00 PM7:00 AM0011111
7Cory111118:00 AM5:00 PM7:30 AM0011111
88:00 AM1244432
98:30 AM1244432
109:00 AM1244432
119:30 AM1244432
1210:00 AM1244432
1310:30 AM1244432
1411:00 AM1244432
1511:30 AM1244432
1612:00 PM1244432
1712:30 PM1244432
181:00 PM1244432
191:30 PM1244432
202:00 PM1244432
212:30 PM1244432
223:00 PM1244432
233:30 PM1244432
244:00 PM1233321
254:30 PM1233321
265:00 PM0000000
275:30 PM0000000
286:00 PM
Sheet24
Cell Formulas
RangeFormula
M4:S27M4=SUMPRODUCT(B$4:B$7,($L5<=$J$4:$J$7)*($L4>=$I$4:$I$7))
 
Upvote 0
Solution
It worked THANK YOU !! Except for First interval - I expanded for full 24 hours.


1634163970618.png
 
Upvote 0
i had to adjust midnight to 12:00:01 am to make that interval work
 
Upvote 0
I'm glad it works for you! I can't explain why the 1st interval didn't work. I tried it on mine, and it worked ok. It sounds like you got a workaround anyway.

Good luck! ?
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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