Formula needed for Time Ranges

rpjuanm

New Member
Joined
Nov 13, 2007
Messages
39
I need help creating a formula that will display an employees name only if the start and stop time of their meeting falls within a specific range and NOT display the name if it does not fall within that time range. Example. Time range is from 11:37 to 14:57 and the meeting is from 14:30 to 15:00.

Help!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You haven't told us anything about your existing layout or where/how you want the results presented. however, see if this helps get you going. Formula in E3 is copied down.

Excel Workbook
ABCDEFG
1NameStartStopMeetingStartStop
214:3015:00
3Tom8:3013:30 
4Jen11:0015:30Jen
5Ann14:3018:00Ann
6Jim11:0014:45
7
Meeting
 
Upvote 0
I have the exact same format as what you created, but when i copy the formula over to my sheet, it does not display the names as yours does. One thing i should mention is that I have formulas that calculate the meeting start and stop, but they are in the same format (custom "H:MM"). Any thoughts as to why it is not working when i move it over to my sheet?
 
Upvote 0
I have the exact same format as what you created, but when i copy the formula over to my sheet, it does not display the names as yours does. One thing i should mention is that I have formulas that calculate the meeting start and stop, but they are in the same format (custom "H:MM"). Any thoughts as to why it is not working when i move it over to my sheet?
Does it display no names at all, some names but they are the wrong ones? Tell us as much as you can.

My guess is that at least part of the problem is that you have a rounding error. If you are calculating start/stop times with a formula, that formula possibly results in a time that is not exactly any number of hours and minutes but results in hours, minutes and seconds, with just hours and minutes displayed.

However, that should only be a problem when the meeting start/stop time is almost identical to the persion's start/stop time.

Can you give us the formulas and possibly some sample data?
 
Upvote 0
Try:

=ROUND(your_current_formula*24*60,0)/24/60
which really becomes
=ROUND(your_current_formula*1440,0)/1440
 
Upvote 0

Forum statistics

Threads
1,207,194
Messages
6,077,006
Members
446,250
Latest member
Dontcomehereoften

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top