Looking for an Excel Formula

  wee eddie 20:47 20 May 08
Locked

to turn Hours expressed as 08:45:00 (Hours:Minutes:Seconds) to an Hours & Decimal of an Hour. So that I can calculate the Total Pay for the period.

I've used Excel's Help which recommends the INT Function but that does not achieve the result I hoped for. I probably got the formula wrong.

  Rigga 08:00 21 May 08

try

=HOUR(A1)+(MINUTE(A1)/60)+(SECOND(A1)/3600)

Where the time is in cell A1

Make sure the target cell for the hours as decimal, is formatted as either General or Number.

HTH. R.

  wee eddie 11:09 21 May 08

Thank you very much

Advertisement

This thread is now locked and can not be replied to.

Nvidia Titan X release date, price and specs UK: Nvidia's new Titan X GP102 for 2016 launching on 2t…

1995-2015: How technology has changed the world in 20 years

This Superman ride is a real rollercoaster that you wear a VR headset on

Apple 12-inch MacBook review (2016): A question of port