Roster Count

Dirtydrongo

New Member
Joined
May 9, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hey,

Was hoping for some help I am trying to use a countifs function to determine how many employees are rostered on for the current day based on their position. The function used has worked to achieve my end result but I am struggling to get it to increment based on current days date.

Goal= To know how many Position '#1, #2, #3' are rostered on for each current day (note DSW= working, RNR= time off. And how many are on annual leave (AL)

=COUNTIFS($B$3:$B$10,$A$15,$M$3:$M$10,"=DSW") Used to determine Cell B15

Any assistance would be appreciated.

1715310505364.png
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Doing this by eye so the formula might be off, but try this for positions #1,2,3
Excel Formula:
=LET(f,FILTER($D$3:$O$10,$D$2:$O$2=TODAY()),IFERROR(ROWS(FILTER(f,($B$3:$B$10=A15)*(f="DSW"))),0))

....and this for AL
Excel Formula:
=LET(f,FILTER($D$3:$O$10,$D$2:$O$2=TODAY()),IFERROR(ROWS(FILTER(f,f="AL")),0))
 
Upvote 0
Doing this by eye so the formula might be off, but try this for positions #1,2,3
Excel Formula:
=LET(f,FILTER($D$3:$O$10,$D$2:$O$2=TODAY()),IFERROR(ROWS(FILTER(f,($B$3:$B$10=A15)*(f="DSW"))),0))

....and this for AL
Excel Formula:
=LET(f,FILTER($D$3:$O$10,$D$2:$O$2=TODAY()),IFERROR(ROWS(FILTER(f,f="AL")),0))
That worked great thank you very much for the assistance, much appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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