Staffing Counts on Oddly Dated Schedule

alm395

New Member
Joined
Apr 23, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to help my area identify staffing counts on a schedule created before I came over. I have included a very consolidated version of it as an example as the full version is roughly 900 rows (06/06/20 - today). Basically, each section is a 5-week rotation, and each of the 5-week sections identifies the employees' position. Due to staffing changes and promotions, it is unlikely that the 5-week section will have the same number of employees or the number of positions. (NOTE: This schedule is atrocious and very confusing...I am working on enhancing it once I retrieve the historical data)

The report table shows the first line complete (by manual count). There are a variety of different "codes" on the schedule, but the only ones I want to count are "D", "N", and "R". I feel like because of the way it is laid out, I am overthinking this, but I cannot seem to get an accurate result.

5-week-sample.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQAR
1STAFFING COUNTSSCHEDULE
2DATESUPDOTOCSUPCTOTOTALEMP06/21/2006/22/2006/23/2006/24/2006/25/2006/26/2006/27/2006/28/2006/29/2006/30/2007/01/2007/02/2007/03/2007/04/2007/05/2007/06/2007/07/2007/08/2007/09/2007/10/2007/11/2007/12/2007/13/2007/14/2007/15/2007/16/2007/17/2007/18/2007/19/2007/20/2007/21/2007/22/2007/23/2007/24/2007/25/20
306/21/20242008SUPNNNDDDDTTTTNNNSVDDD
406/22/20TONNNDDDDTTTTDNNNNDDD
506/23/20DONNNDDDDTTTTDNNNNDDD
606/24/20DONNNDDDDTTTTDNNNNDDD
706/25/20SUPNDDDNNNDDDDTTTTNNN
806/26/20TONDDDNNNDDDDTTTTNNN
906/27/20DONDDDNNNDDDDTTTTNNN
1006/28/20DONDDDNNNDDDDTTTTNNNSV
1106/29/20SUPNNNNDDDNNNDDDDTTTTN
1206/30/20TONUSNNNDDD8H4VNNNDDD09UDTTTTN
1307/01/20TONNNNDDDNNNDSVDDDTTTT
1407/02/20DODNNNNDDDNNNDDDDTTTTN
1507/03/20SUPTTTTNNNNDDDNNNDSVDDDD
1607/04/20TOTTTTNNNNNDDDNNNDDDDD
1707/05/20TOTSVTTTNNNNNDDDNNNDDDD
1807/06/20TOTTTTNNNNDDDNNNDDDSSD
1907/07/20SUPDDDTTTTNNNNDDDNNND
2007/08/20TODSVDDTTTTNNNNDDDNNND
2107/09/20TODDDTSVTSVTTNNNNDDDNNND
2207/10/20DODDDTTTTNNNNDDDNNND
2307/11/20SUPRRRRRRRRRRRSVRRRRRRRRRRRRRRSV
2407/12/20DOSVSVSVSVDDDDDDDDDDDDD10DSSDDD
2507/13/20DODDDDDD
2607/14/20DODDDDDDDDDDDDDSVDSVDSVDSVDDDD
2707/15/20DODDDDD10DDDD2VDSVDSVDSVDSVD10DDDDDDDD
2807/16/20DODDDDDDDD2VDDDDD10DDDDDDDD
2907/17/20DODDDDD9DDDD2VDDDDD10DDDDDSVDDD
3007/18/20
3107/19/20
3207/20/20
3307/21/20
3407/22/20
3507/23/20
3607/24/20
3707/25/20
5-Wk Schedule
Cell Formulas
RangeFormula
G3G3=SUM(B3:F3)
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
How about in B3 dragged down & across
Excel Formula:
=SUM(COUNTIFS(INDEX($J$3:$AR$29,,MATCH($A3,$J$2:$AR$2,0)),{"D","N","R"},$I$3:$I$29,B$2))
 
Upvote 1
Solution
How about in B3 dragged down & across
Excel Formula:
=SUM(COUNTIFS(INDEX($J$3:$AR$29,,MATCH($A3,$J$2:$AR$2,0)),{"D","N","R"},$I$3:$I$29,B$2))
That did it! I was doing various versions of that formula, but never quite got it there.

Thanks so much! 🙌🏻
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

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