Try...
=(B1-A1+(B1<A1))*24
Hope this helps!
> I read that you can do (B1-A1)*24 but for the values where A is in PM and B
> is in AM this returns a negative hour much larger than what it should be.
> Any recommendations? Thanks.
Toppers - 19 Aug 2006 18:33 GMT
Try:
=MOD((B1-A1),1)*24
> Try...
>
[quoted text clipped - 5 lines]
> > is in AM this returns a negative hour much larger than what it should be.
> > Any recommendations? Thanks.
Fletch74 - 19 Aug 2006 18:40 GMT
Thanks, both work. =D
> Try:
>
[quoted text clipped - 9 lines]
> > > is in AM this returns a negative hour much larger than what it should be.
> > > Any recommendations? Thanks.