Re: Calculating hours
From: Bob Phillips (bob.phillips_at_notheretiscali.co.uk)
Date: 04/05/04
- Next message: Frank Kabel: "Re: subtract from vlookup?"
- Previous message: Tom: "Re: Help w/ User-Defined Function"
- In reply to: Debbie Dies: "Calculating hours"
- Next in thread: Frank Kabel: "Re: Calculating hours"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Apr 2004 00:15:08 +0100
Hi Debbie,
Try
=MIN(TIME(8,0,0),B1-A1)
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Debbie Dies >" <<Debbie.Dies.149ira@excelforum-nospam.com> wrote in message
news:Debbie.Dies.149ira@excelforum-nospam.com...
> I have been trying to subtract out regular hours from overtime hours. I
> can't seem to get it to come up with 8 reg hours.
>
> cell a1 = 8:00 am
> cell b1 = 10:00 pm
> cell c1 = b1-a1 answer 14
> cell d1 =???? I want it to say 8 hrs if c1 is over 8 hrs and if c1 is 8
> hrs or under I want it to = c1.
>
> So long has I am not using time format I can get this to work. But as
> soon has I use time format it won't work.
>
> Please help. I seem to be having trouble with the time format
> functions.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>
- Next message: Frank Kabel: "Re: subtract from vlookup?"
- Previous message: Tom: "Re: Help w/ User-Defined Function"
- In reply to: Debbie Dies: "Calculating hours"
- Next in thread: Frank Kabel: "Re: Calculating hours"
- Messages sorted by: [ date ] [ thread ]