Home

Hour, Minute, Second functions

%3CLINGO-SUB%20id%3D%22lingo-sub-907910%22%20slang%3D%22en-US%22%3EHour%2C%20Minute%2C%20Second%20functions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-907910%22%20slang%3D%22en-US%22%3E%3CP%3EI%20use%20the%20hh%3Amm%20custom%20format%20for%20cells%20to%20enter%20start%20and%20end%20times.%20Then%20calculate%20time%20consumed%20by%20subtracting%20start%20time%20from%20end%20time%20(hh%3Amm).%26nbsp%3B%20I%20need%20to%20split%20the%20hours%20and%20minutes%20to%20calculate%20the%20total%20minutes.%20Using%20the%20hour%20and%20minute%20functions%20on%20the%20time%20consumed%20cell%2C%20returns%2000%3A00.%20What%20am%20I%20doing%20wrong%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-907910%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-907936%22%20slang%3D%22en-US%22%3ERe%3A%20Hour%2C%20Minute%2C%20Second%20functions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-907936%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F424231%22%20target%3D%22_blank%22%3E%40harrymul%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20try%20this%20formula%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20392px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F137129iFC40A2FC87EE8A5B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222019-10-11_09h22_20.png%22%20title%3D%222019-10-11_09h22_20.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-908461%22%20slang%3D%22en-US%22%3ERe%3A%20Hour%2C%20Minute%2C%20Second%20functions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-908461%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F422482%22%20target%3D%22_blank%22%3E%40PascalKTeam%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPerfect!%20Thank%20you%20very%20much%20PascalKTeam.%3C%2FP%3E%3C%2FLINGO-BODY%3E
harrymul
New Contributor

I use the hh:mm custom format for cells to enter start and end times. Then calculate time consumed by subtracting start time from end time (hh:mm).  I need to split the hours and minutes to calculate the total minutes. Using the hour and minute functions on the time consumed cell, returns 00:00. What am I doing wrong?

4 Replies

@harrymul 

 

Hi, try this formula

2019-10-11_09h22_20.png

@PascalKTeam 

 

Perfect! Thank you very much PascalKTeam.

No problem, happy to help. Would be nice if you could mark my reply as the official solution. Thank you!

@harrymul 

Other way you may simply apply custom format to the result for elapsed time in minutes

image.png

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies