Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

How to count consecutive shifts greater than 5 in Google Sheets?

$
0
0

I have a group of employees and need to find a way to count the number of times an employee works greater than 5 days a row. Shifts are indicated by a different letter (H, P, Y, X) given the start time. I have attached a Google Sheet with the examples. Different combos of shifts do not matter, as long as over 5 days in a row are worked. I've tried some IF statements and some Arrays, but not very good at this coding thing. The actual Google Sheet will be much more expansive than this sample one, with the pay periods from last year, and will continue for the foreseeable future. Please help.

Below is a Google Sheets link for the example:

https://docs.google.com/spreadsheets/d/10Maov8GcWN7BgG4rR1eH8tuNIZqSr7isr38aPlFOVJQ/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>