vdmbqb said:
I need to enter time in hours and minutes
Assuming that by that you mean you are entering the times as XL times ie
hh:mm, then:
XL stores dates as the number of days since the start *date* of January 00
1900, ie day 1 is January 1 1900. Times are just fractions of days so being
as 1 hour is 1/24th of a day, multiplying a *time* by 24 will result in
decimal hours. Therefore with 16:50 in A1 and 8:00 in A2,
=(A1-A2)*24 results in 8.833333
and with 10:45 in A1 it results in 2.75
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
[email protected]
Replace @mailinator.com with @tiscali.co.uk