Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Find Min Time taking 24hrs into account

Hi all,

I am using to schedule arrivals/departures.

In cell J3 i am look for a formula to find the earlier time in column F, these times in column F occure both before and after midnight ie. 19:30 is earlier than 01:00 in terms of a arrivals for a night shift. I need a formula to find the earliest time in the list taking this into account, min does not work as it sees 00:30 as earlier than 21:30 for example.

Any help would be much appreciated.

Thanks
Kiktuo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Find Min Time taking 24hrs into account

Hi,

Am Mon, 24 Nov 2014 17:51:20 +0000 schrieb kiktuo:

In cell J3 i am look for a formula to find the earlier time in column F,
these times in column F occure both before and after midnight ie. 19:30
is earlier than 01:00 in terms of a arrivals for a night shift. I need a
formula to find the earliest time in the list taking this into account,
min does not work as it sees 00:30 as earlier than 21:30 for example.


is a date in another column?
Please post an example of your data and show us your expected result.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Find Min Time taking 24hrs into account

Create another column, and populate it with the time offset so that 0 is the "base" time e.g. 6pm. So if A is your time, set B1=MOD(A1+.25,1) because .25 is a quarter of a day, and 6pm is a quarter of a day before midnight. Then you can do a min on this column, and then =MOD(An-.25,1) again to find the time where n is the row of the min.

Phil.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Find Min Time taking 24hrs into account

Example:
https://dl.dropboxusercontent.com/u/.../TimeShift.xls
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofilter COUNTA formula not taking into account hidden cells Sarah Excel Discussion (Misc queries) 1 August 17th 07 01:17 PM
Taking in account additional rows JB12 Excel Discussion (Misc queries) 3 December 27th 05 06:05 PM
How to calculate a person's age taking into account their birthda. CPD174 Excel Worksheet Functions 4 July 8th 05 09:36 AM
repeat formulae taking into account previous column's info? Debbie Excel Discussion (Misc queries) 1 March 25th 05 04:27 PM
Date difference taking into account weekends. annonymous Excel Worksheet Functions 3 March 14th 05 05:35 PM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"