Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Count numbers based on arrival times

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #2
    Board Regular Steve Hartman's Avatar
    Join Date
    Feb 2002
    Location
    Houston,Texas
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

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

  3. #3
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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!

    Regards!

    Yogi Anand, D.Eng, P.E.
    Energy Efficient Building Network LLC
    www.energyefficientbuild.com

  4. #4
    New Member
    Join Date
    May 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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.

    Thanks for all your help!

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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