+ Reply to Thread
Results 1 to 5 of 5

COUNTIF for DOW Staff by Interval

  1. #1
    Registered User
    Join Date
    10-07-2021
    Location
    Clewiston, FL
    MS-Off Ver
    2102
    Posts
    3

    Question COUNTIF for DOW Staff by Interval

    Hi Guys!

    I currently have a file that calculates the # of staff by interval for each day of the week based on their shift/schedules. I'm running into a problem with overnight schedules. See the file sample, A:B show shift start/stop and C:I each day of the week with the following formula being used on M:S =COUNTIFS(C:C,M$2,$A:$A,"<="&$K18,$B:$B,">="&$L18)

    As you can see, those shifts in row 10 through 13 are not being accounted for. I have searched for weeks and have yet to find a formula that helps with the overnight headcount and have been manually adding/removing those shifts.

    Thank you all for any input/help on this one.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: COUNTIF for DOW Staff by Interval

    Let's see if it works fine in your mind, I just played with time, no formula. I added 1 to the decimal time in column A&B and pushed start time scale for 8:30.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-07-2021
    Location
    Clewiston, FL
    MS-Off Ver
    2102
    Posts
    3

    Thumbs up Re: COUNTIF for DOW Staff by Interval

    Thank you so much! I see the new format does count the headcount as needed. Much appreciated!!!!

  4. #4
    Registered User
    Join Date
    10-07-2021
    Location
    Clewiston, FL
    MS-Off Ver
    2102
    Posts
    3

    Re: COUNTIF for DOW Staff by Interval

    Thank you so much! this solved my problem!

  5. #5
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: COUNTIF for DOW Staff by Interval

    Great, tks for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Scheduled staff per interval
    By Cormac.D in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-17-2019, 04:48 PM
  2. Countif in date interval
    By Smasen91 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-14-2019, 11:19 AM
  3. [SOLVED] Macro to update Score Card Summary when the new staff add-in or existing staff deleted
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-12-2014, 02:43 PM
  4. Staff Planner - How To Set Up UserForm to Generate Data into Staff & Date Spreadsheet
    By Marie Snell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-19-2013, 11:04 PM
  5. use of countif formula to calculate time intervals eg.15 min interval
    By sachin kokitkar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-25-2013, 10:32 AM
  6. Countif to Count Activities in a time interval on a Specific Date
    By rajxkumar in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-28-2011, 03:55 PM
  7. [SOLVED] counting values within given interval - countif?
    By A_F in forum Excel General
    Replies: 4
    Last Post: 05-06-2005, 06:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1