Adding times
- From: mel_flynn <mel_flynn.1zb5go_1133350803.0141@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 05:37:13 -0600
I'm trying to add the following list of times:
09:30 + 09:00 + 09:00 + 04:00 + 08:30 + 08:30 + 06:00 + 05:00 + 05:00 +
07:00 + 08:00 + 05:00 + 04:00 + 07:30
Using the following formula:
=IF(INT(ROUND(SUM(L4:L70)/0.04166667,2)) = 0, "",
INT(ROUND(SUM(L4:L70)/0.04166667,2)) &":" &
IF(MINUTE(MOD(SUM(L4:L70),1)) < 10, "0" & MINUTE(MOD(SUM(L4:L70),1)),
MINUTE(MOD(SUM(L4:L70),1))))
The problem lies in the part of the function marked in bold. This
function is working perfectly with all/most other combinations of
times.
Hopefully someone can help me.
Thanks,
Imelda.
--
mel_flynn
------------------------------------------------------------------------
mel_flynn's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29206
View this thread: http://www.excelforum.com/showthread.php?threadid=489376
.
- Prev by Date: Re: VB code help
- Next by Date: chart secondary axis crossing with x axis
- Previous by thread: Re: VB code help
- Next by thread: chart secondary axis crossing with x axis
- Index(es):
Relevant Pages
|