mindfullsilence
New Member
- Joined
- Apr 22, 2008
- Messages
- 5
Hello everyone, new member here, how are all of you?
I need excel to look for a number in several ranges and return the number of occurrences that number is found. It's for a work schedule.
Example:
................Wednesday..............
cell..|.......A.........|.......B.......|
1.....|...Time in:....|...7:00 am..|
2.....|...Tim Out:...|..10:00 am.|
3.....|...Time in:....|...7:00 am..|
4.....|...Tim Out:...|..10:00 am.|
5.....|...Time in:....|..10:00 am.|
6.....|...Tim Out:...|...3:00 pm..|
I would need excel to test the ranges for "Time In" and "Time Out" and see if, say, 9:00 AM fell inside the range, and because it does, it would give me a "2." one for B1:B2, and another for B3:B4. After testing B5:B6 it wouldn't add anything because 9:00 AM does not fall between 10:00 AM and 3:00 PM.
I need it to test about 20 of these ranges and tell me how many times "9:00 am" exists.
I have to have this formula for every hour of the day from 7am - 2am. And for each day of the week, so I'm hoping it's simple.
Any ideas?
btw, I have no idea about macros or [COLOR=blue ! important][FONT=Verdana,Helvetica,sans-serif][COLOR=blue ! important][FONT=Verdana,Helvetica,sans-serif]vba[/FONT][/FONT][/color][/color] so I'm hoping this is possible with a formula. I'm definitely not an expert but I'm a little above average on formulas I think.
I'm trying to be as clear as possible without implying that I have little confidence all of you, but I've posted on a couple other forums to no avail. Perhaps I'll strike gold here. If it would help I can post a link to download my file I need this for.
Thanks in advance.
I need excel to look for a number in several ranges and return the number of occurrences that number is found. It's for a work schedule.
Example:
................Wednesday..............
cell..|.......A.........|.......B.......|
1.....|...Time in:....|...7:00 am..|
2.....|...Tim Out:...|..10:00 am.|
3.....|...Time in:....|...7:00 am..|
4.....|...Tim Out:...|..10:00 am.|
5.....|...Time in:....|..10:00 am.|
6.....|...Tim Out:...|...3:00 pm..|
I would need excel to test the ranges for "Time In" and "Time Out" and see if, say, 9:00 AM fell inside the range, and because it does, it would give me a "2." one for B1:B2, and another for B3:B4. After testing B5:B6 it wouldn't add anything because 9:00 AM does not fall between 10:00 AM and 3:00 PM.
I need it to test about 20 of these ranges and tell me how many times "9:00 am" exists.
I have to have this formula for every hour of the day from 7am - 2am. And for each day of the week, so I'm hoping it's simple.
Any ideas?
btw, I have no idea about macros or [COLOR=blue ! important][FONT=Verdana,Helvetica,sans-serif][COLOR=blue ! important][FONT=Verdana,Helvetica,sans-serif]vba[/FONT][/FONT][/color][/color] so I'm hoping this is possible with a formula. I'm definitely not an expert but I'm a little above average on formulas I think.
I'm trying to be as clear as possible without implying that I have little confidence all of you, but I've posted on a couple other forums to no avail. Perhaps I'll strike gold here. If it would help I can post a link to download my file I need this for.
Thanks in advance.