![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 2
|
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 |
|
Board Regular
Join Date: Feb 2002
Location: Houston,Texas
Posts: 418
|
How is your data laid out in the spreadsheet? How many rows and columns etc.
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
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 |
|
New Member
Join Date: May 2002
Posts: 2
|
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! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|