Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default TIME VALIDATION

A1 = 18:00 and B1 = 05:00

=MOD(B1-A1,1)

or

=B1-A1+(A1=B1)



--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"sammy" wrote in message
...
Thanks it works great, now I have another question how do I caculate the
hour difference between two cells in cell 1 I have 18:00 and in cell 2 I
have
05:00. any idea.

Thanks for your help.

"Peo Sjoblom" wrote:

You can use allowcustom and a formula, if we assume that A1 is the cell
you
want to validate and the time between is 21:00 and 06:00

=OR(A1=--"21:00",A1<=--"06:00")

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"sammy" wrote in message
...
Hi hope somebody can help me.

I need to validated the time on a cell, I have 3 shifts one working
from
6:00 to 15:30 other from 15:30 to 01:00 and finaly one from 18:00 to
06:00
,
I allready validated the time on shift 1 using the bettwen time option
but
I
can't make this work on the other two, (because the end date it's from
the
next day).

Any ideas ? thanks for your help.






 
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
Hot key for time? Dave in Des Moines New Users to Excel 2 March 24th 06 04:31 PM
Hot key for time? Dave in Des Moines Excel Discussion (Misc queries) 1 March 24th 06 03:46 PM
Entering Times Denise Excel Discussion (Misc queries) 9 November 15th 05 04:57 PM
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
Time and motion chart deant Charts and Charting in Excel 0 September 21st 05 08:22 AM


All times are GMT +1. The time now is 12:54 PM.

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

About Us

"It's about Microsoft Excel"