Thanks:  0
Likes:  0

# Thread: Count numbers based on arrival times

1. I am relatively new to Excel, but I'm learing. I want to track number of entries based on arrival time-- number arriving between 7 am and 11 am, 11 and 3 pm, and after 3, and total on a monthly basis. It should be easy but I can't get anything I've tried to work.

Thanks in advance for any assistance!

2. How is your data laid out in the spreadsheet? How many rows and columns etc.

3. On 2002-05-08 20:22, mog75 wrote:
I am relatively new to Excel, but I'm learing. I want to track number of entries based on arrival time-- number arriving between 7 am and 11 am, 11 and 3 pm, and after 3, and total on a monthly basis. It should be easy but I can't get anything I've tried to work.

Thanks in advance for any assistance!
Hi mog75:

let us say your arrival_time is in cells A2:a7, and your number of entries is in cells b2:b7, then use the following formula:

=SUMPRODUCT((B2:B7)*(A2:A7>=D1)*(A2:A7<=D2))

Hope This Helps!

4. Thanks for your quick replies!

I am using 60 rows down to enter times in and out. Column B is time in, column C time out. Excel totals time in column D, that was the easy part. I set up column E as In between 7-11 (am), column F in between 11-3, and column G in after 3 pm. I thought that if I could return a value (1) in column E, F, or G based on entry time it would be easy to calculate total time and daily and monthly totals for each column. I wanted to make data entry as easy as possible, as it will be multiple other users with very limited excel experience entering data.

## User Tag List

#### Posting Permissions

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