meronymous
New Member
- Joined
- Feb 21, 2016
- Messages
- 9
Hello everyone,
I'm hoping someone can help me come up with a formula to count the number of entries that fall on a specific day of the week and within a specific time range. I have a long table of data in Excel that includes two columns: "Entry Time" and "Exit Time". These columns are formatted as "dd.mm.yyyy HH:mm", and the time between the two can span over several days.
What I need is a formula that checks if the period between Entry Time and Exit Time both fall on a specific day of the week (e.g., Wednesday) and within a specific time range (e.g., between 8:00 AM and 10:00 AM). If the conditions are met, I want to add 1 to the count.
I have no problem doing this when B and C are on the same date, but I struggle to find a way to make Excel count as + 1 all the hours and days in between when the difference between B and C goes over midnight.
Here's a screenshot of my table:
If anyone could help me put this together, I'd be very grateful!
Thanks in advance.
I'm hoping someone can help me come up with a formula to count the number of entries that fall on a specific day of the week and within a specific time range. I have a long table of data in Excel that includes two columns: "Entry Time" and "Exit Time". These columns are formatted as "dd.mm.yyyy HH:mm", and the time between the two can span over several days.
What I need is a formula that checks if the period between Entry Time and Exit Time both fall on a specific day of the week (e.g., Wednesday) and within a specific time range (e.g., between 8:00 AM and 10:00 AM). If the conditions are met, I want to add 1 to the count.
I have no problem doing this when B and C are on the same date, but I struggle to find a way to make Excel count as + 1 all the hours and days in between when the difference between B and C goes over midnight.
Here's a screenshot of my table:
If anyone could help me put this together, I'd be very grateful!
Thanks in advance.