Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default calc time value

hi
i am trying to calculate theamount o time between 2 time values

s25 = 05:59:59
t25 = 06:00:00

Q R
row 34 04:36:38 04:37:03
row 35 05:16:52 07:14:01


=IF(O34="Saturday",IF(AND(R34$T$25,R34<$S
$25),"06:00:00",TEXT(MOD(R34,1),"hh:mm:ss")),R34) returns 04:37:03



=IF(O35="Saturday",IF(AND(R35$T$25,R35<$S
$25),"06:00:00",TEXT(MOD(R35,1),"hh:mm:ss")),R35) returns
07:14:01

what i want is if the the time value in column R exceeds 06:00:00 the
time is replace with 06:00:00
this works for row 34 but not row 35

any ideas where i going wrong

thanks kevin

 
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
Calc F9) Button and time. Timmy Mac1 Excel Discussion (Misc queries) 3 November 9th 05 06:40 PM
formula that calc the diff in time, with a less than function? Debbs Excel Worksheet Functions 1 November 3rd 05 07:23 PM
Time Calc - 24hrs vs 0hrs Ltat42a Excel Discussion (Misc queries) 9 October 19th 05 09:14 PM
time sheet calc by time in and out JenMo Excel Worksheet Functions 1 June 7th 05 06:23 PM
Problem with time calc Tom Excel Worksheet Functions 2 November 6th 04 12:04 PM


All times are GMT +1. The time now is 05:02 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"