RedOctoberKnight
Board Regular
- Joined
- Nov 16, 2015
- Messages
- 150
- Office Version
- 2016
- Platform
- Windows
Good Morning All,
I'm trying to create a worksheet that quickly analyzes schedules for work. The problem is, for whatever reason, my total count is off by 1.
I'm trying to find out how many occurrences occur between two times and specific day of the week.
I'm using the following formula where column "R" is the actual occurrence time, "U" is the beginning time, "V" is the end time, and "S" is the day of the week matching up with the day of the week in W1
=COUNTIFS($R$2:$R$1048576,">="&$U3,$R$2:$R$1048576,"<="&$V3,$S$2:$S$1048576,W$1)
When I drag the formula down to count between all specified times, everything seems to come out fine but when i total up the occurrences, I always seem to be 1 short from what the actual occurrences are. For example, i know there are 50 occurrences but when I add them all up using the above formula to find how many occur between each hour, I end up with only 49.
Anyone have any ideas or possibly suggestions for a different formula?
Thanks in advance!
I'm trying to create a worksheet that quickly analyzes schedules for work. The problem is, for whatever reason, my total count is off by 1.
I'm trying to find out how many occurrences occur between two times and specific day of the week.
I'm using the following formula where column "R" is the actual occurrence time, "U" is the beginning time, "V" is the end time, and "S" is the day of the week matching up with the day of the week in W1
=COUNTIFS($R$2:$R$1048576,">="&$U3,$R$2:$R$1048576,"<="&$V3,$S$2:$S$1048576,W$1)
When I drag the formula down to count between all specified times, everything seems to come out fine but when i total up the occurrences, I always seem to be 1 short from what the actual occurrences are. For example, i know there are 50 occurrences but when I add them all up using the above formula to find how many occur between each hour, I end up with only 49.
Anyone have any ideas or possibly suggestions for a different formula?
Thanks in advance!