How do I covert a time (17:41) to a numerical number (17.41) so I can do a calculation?

%3CLINGO-SUB%20id%3D%22lingo-sub-3399356%22%20slang%3D%22en-US%22%3EHow%20do%20I%20covert%20a%20time%20(17%3A41)%20to%20a%20numerical%20number%20(17.41)%20so%20I%20can%20do%20a%20calculation%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3399356%22%20slang%3D%22en-US%22%3E%3CP%3ETrying%20to%20do%20a%20comparison%20of%20time%20worked%20to%20start%20minus%20end%20time%20of%20a%20vehicle%20being%20driven.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3399356%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3399457%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20covert%20a%20time%20(17%3A41)%20to%20a%20numerical%20number%20(17.41)%20so%20I%20can%20do%20a%20calculation%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3399457%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1394626%22%20target%3D%22_blank%22%3E%40Doug-1959%3C%2FA%3E%26nbsp%3BYou%20don't%20have%20to.%20Excel%20will%20recognize%2017%3A41%20as%20a%20time%20value%20and%20you%20can%20deduct%20start%20time%20from%20end%20time%20to%20get%20a%20duration.%20Beware%20that%20you%20may%20have%20to%20custom%20format%20the%20result%20as%20%3CSTRONG%3E%5Bh%5D%3Amm%3C%2FSTRONG%3E%20in%20case%20hours%20may%20exceed%2024.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Riny_van_Eekelen_0-1652965052298.png%22%20style%3D%22width%3A%20127px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373159i5BC8215CD8EB3490%2Fimage-dimensions%2F127x162%3Fv%3Dv2%22%20width%3D%22127%22%20height%3D%22162%22%20role%3D%22button%22%20title%3D%22Riny_van_Eekelen_0-1652965052298.png%22%20alt%3D%22Riny_van_Eekelen_0-1652965052298.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Trying to do a comparison of time worked to start minus end time of a vehicle being driven.

1 Reply

@Doug-1959 You don't have to. Excel will recognize 17:41 as a time value and you can deduct start time from end time to get a duration. Beware that you may have to custom format the result as [h]:mm in case hours may exceed 24.

Riny_van_Eekelen_0-1652965052298.png