SOLVED

'minutes and seconds' data entering in data base

%3CLINGO-SUB%20id%3D%22lingo-sub-2365553%22%20slang%3D%22de-DE%22%3ESubject%3A%20'minutes%20and%20seconds'%20data%20entering%20in%20data%20base%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2365553%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F968073%22%20target%3D%22_blank%22%3E%40IB800%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%3CA%20href%3D%22http%3A%2F%2FDate%2520and%20time%20functions%20(reference)%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDate%20and%20time%20functions%20(reference)%3C%2FA%3E%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3ETo%20get%20detailed%20information%20about%20a%20function%2C%20click%20its%20name%20in%20the%20first%20column.%3C%2FP%3E%3CDIV%20class%3D%22ocpAlert%22%3E%3CP%20class%3D%22ocpAlertSection%20x-hidden-focus%22%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%26nbsp%3BVersion%20markers%20indicate%20the%20version%20of%20Excel%20a%20function%20was%20introduced.%20These%20functions%20aren't%20available%20in%20earlier%20versions.%20For%20example%2C%20a%20version%20marker%20of%202013%20indicates%20that%20this%20function%20is%20available%20in%20Excel%202013%20and%20all%20later%20versions.%3C%2FP%3E%3CP%20class%3D%22ocpAlertSection%20x-hidden-focus%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fcalculate-the-difference-between-two-times-e1c78778-749b-49a3-b13e-737715505ff6%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ECalculate%20the%20difference%20between%20two%20times%3C%2FA%3E%3C%2FP%3E%3CP%3ELet's%20say%20that%20you%20want%20to%20find%20out%20how%20long%20it%20takes%20for%20an%20employee%20to%20complete%20an%20assembly%20line%20operation%20or%20a%20fast%20food%20order%20to%20be%20processed%20at%20peak%20hours.%20There%20are%20several%20ways%20to%20calculate%20the%20difference%20between%20two%20times.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wish%20you%20continued%20success%20with%20your%20Computer%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20Kindly%20Mark%20and%20Vote%20any%20reply%20if%20it%20helps%20please%2C%20as%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366127%22%20slang%3D%22en-US%22%3ERe%3A%20'minutes%20and%20seconds'%20data%20entering%20in%20data%20base%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366127%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F968073%22%20target%3D%22_blank%22%3E%40IB800%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEntering%20the%20time%20you%20need%20to%20enter%20hours%2C%20like%200%3A2%3A15.%20Alternatively%20you%20may%20enter%20it%20as%202%3A15%20which%20means%202%20hrs%2015%20min%2C%20but%20in%20calculation%20divide%20such%20values%20on%2060.%20You%20may%20test%20with%20%3D%222%3A15%22%2F60%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366456%22%20slang%3D%22en-US%22%3ERe%3A%20'minutes%20and%20seconds'%20data%20entering%20in%20data%20base%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366456%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F968073%22%20target%3D%22_blank%22%3E%40IB800%3C%2FA%3E%26nbsp%3B%20wrote%3A%26nbsp%3B%20%60%60even%20if%20I%20did%20customized%20formatting%20to%20%22m%20%3A%20sec%22%20it%20is%20appearing%20full%20date%20and%20time%20like%3A%2018.05.2021%2020%3A02%3A02%60%60%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon't%20confuse%20the%20way%20that%20a%20cell%20value%20appears%20in%20the%20Formula%20Bar%20with%20the%20actual%20cell%20value.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3EEnter%20time%20in%20form%202%3A15.0%3C%2FFONT%3E%20(although%20you%20might%20write%202%3A15%2C0%20if%20you%20use%20comma%20for%20the%20decimal%20point).%26nbsp%3B%20The%20decimal%20point%20tells%20Excel%20that%20the%20value%20to%20the%20left%20of%20the%20colon%20is%20minutes%20and%20to%20the%20right%20is%20seconds.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20time%20exceeds%2060%20minutes%2C%20you%20can%20still%20enter%20it%20in%20that%20form%3B%20for%20example%2C%2078%3A15.0%20for%2078%20min%2015%20sec.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20must%20also%20choose%20the%20%3CFONT%20color%3D%22%23FF0000%22%3ECustom%20format%20%5Bm%5D%3Ass%3C%2FFONT%3E%20.%26nbsp%3B%20The%20use%20of%20%22%5Bm%5D%22%20instead%20of%20%22m%22%20displays%20minutes%20greater%20than%2059.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%202%3A15.0%20formatted%20as%20%5Bm%5D%3Ass%2C%20the%20%3CU%3E%3CEM%3Ecell%3C%2FEM%3E%3C%2FU%3E%20displays%202%3A15%2C%20but%20the%20%3CU%3E%3CEM%3EFormula%20Bar%3C%2FEM%3E%3C%2FU%3E%20displays%2012%3A02%3A15%20AM%20(in%20my%20region%3B%20YMMV%20depending%20on%20regional%20settings).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20note%3A%26nbsp%3B%20If%20we%20enter%20only%20time%2C%20the%20Formula%20Bar%20will%20not%20show%20a%20date.%26nbsp%3B%20And%20even%20if%20did%2C%20the%20date%20would%20appear%20to%20be%20effectively%200%20Jan%201900%20in%20some%20form%2C%20depending%20on%20regional%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-----%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPossible%20TMI....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOTOH%2C%20we%20can%20enter%20date%20and%20time%20in%20the%20form%205%2F18%2F2021%20123%3A45.67%20for%2018%20May%2020021%20123%20min%2045.67%20sec%20with%20my%20regional%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Formula%20Bar%20will%20display%205%2F18%2F2021%202%3A03%3A46%20AM%2C%20again%20with%20my%20regional%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20include%20the%20date%20in%20the%20cell%20value%2C%20we%20must%20use%20either%20the%20Custom%20format%20m%3Ass%20or%20h%3Amm%3Ass%20.%26nbsp%3B%20The%20first%20will%20show%20minutes%20modulo%2060.%26nbsp%3B%20If%20we%20try%20to%20use%20Custom%20%5Bm%5D%3Ass%2C%20the%20number%20of%20minutes%20will%20be%2063841083%20(!)%2C%20including%20the%20date%20serial%20number%20times%201440%20(i.e.%20in%20minutes)%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBottom%20line%3A%26nbsp%3B%20Do%20not%20include%20date%20if%20you%20want%20to%20display%20time%20in%20minutes%2C%20especially%20if%20the%20time%20exceeds%2060%20minutes.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFinally%2C%20because%20the%20Formula%20Bar%20displays%20time%20accurate%20only%20to%20the%20second%2C%20we%20%3CU%3E%3CEM%3Ecannot%20edit%20the%20milliseconds%3C%2FEM%3E%3C%2FU%3E%20of%20a%20time%20value%2C%20even%20if%20the%20cell%20is%20formatted%20as%20%5Bm%5D%3Ass.000%20.%26nbsp%3B%20Instead%2C%20we%20must%20re-enter%20the%20entire%20time.%26nbsp%3B%20It's%20yet-another%20limitation%20of%20Excel%3B%20nothing%20we%20can%20do%20about%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-----%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERe%3A%20%60%60But%20often%20format%20is%20changed%20back%20to%20hours%20%3A%20mins%20%3A%20secs%60%60%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegrettably%2C%20yes.%26nbsp%3B%20When%20we%20re-enter%20some%20formulas%2C%20sometimes%20Excel%20automagically%20chooses%20a%20time%20format%2C%20even%20if%20we%20explicitly%20set%20the%20cell%20to%20a%20Custom%20format.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20afraid%20there%20is%20no%20solution%20for%20that%2C%20other%20than%20to%20beware%20of%20it%20and%20to%20reset%20the%20cell%20format%20after%20re-entering%20the%20formula%2C%20if%20necessary.%26nbsp%3B%20Sigh.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS....%20Sometimes%2C%20there%20is%20a%20work-around%20that%20involves%20disguising%20the%20time%20values%20involved%20in%20the%20calculation%2C%20IIRC.%26nbsp%3B%20If%20you%20post%20representative%20formulas%2C%20data%20and%20cell%20formats%2C%20we%20might%20be%20able%20to%20offer%20a%20reasonable%20work-around.%26nbsp%3B%20Then%20again%2C%20maybe%20not.%26nbsp%3B%20Excel%20can%20be%20tenacious%20(sigh).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2367646%22%20slang%3D%22en-US%22%3ERe%3A%20'minutes%20and%20seconds'%20data%20entering%20in%20data%20base%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2367646%22%20slang%3D%22en-US%22%3EThanx%20I%20have%20idea%20for%20work-around%2C%20that%20I%20will%20prepare%20my%20data%20input%20with%20separate%20cell%20for%20H%2C%20separate%20cell%20for%20M%20and%20separate%20for%20S%20(like%20normal%20numbers)%20and%20will%20use%20%3Dtime(h%3B%20m%3B%20s)%20formula%20to%20convert%20those%20number%20info%20in%20time%20format%20to%20compare%20with%20my%20budgeted%20time%20for%20each%20transaction.%3CBR%20%2F%3EThis%20will%20address%20my%20major%20concern%2C%20that%20manual%20time%20information%20input%20in%20excel%20is%20not%20convenient%20and%20could%20create%20a%20lot%20of%20mistakes.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2365418%22%20slang%3D%22en-US%22%3E'minutes%20and%20seconds'%20data%20entering%20in%20data%20base%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2365418%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20need%20to%20prepare%20data%20to%20compare%2Fanalyze%20time%20actually%20spent%20per%20transaction%20with%20planned%20time%20(minutes%20and%20seconds)%2C%20and%20I%20faced%20an%20issue%20that%20it%20is%20not%20convenient%20to%20enter%20time%20in%20excel.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20cell%20is%20formatted%20to%20%22time%22%20even%20if%20I%20did%20customized%20formatting%20to%20%22m%20%3A%20sec%22%26nbsp%3B%20it%20is%20appearing%20full%20date%20and%20time%20like%3A%2018.05.2021%2020%3A02%3A02.%20But%20I%20need%20only%20minutes%20and%20second%20and%20fast%20and%20simple%20possibility%20to%20enter%20this%20information%20say%3A%26nbsp%3B%202%20min%20and%2015%20seconds.%20But%20often%20format%20is%20changed%20back%20to%20hours%20%3A%20mins%20%3A%20secs%2C%20and%20there%20are%20a%20lot%20of%20data%20entry%20mistakes%20which%20make%20impossible%20data%20analysis.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20advise%20some%20easy%20and%20simple%20data%20entry%20option%20for%20minutes%20and%20seconds%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2365418%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi, I need to prepare data to compare/analyze time actually spent per transaction with planned time (minutes and seconds), and I faced an issue that it is not convenient to enter time in excel.  

Once cell is formatted to "time" even if I did customized formatting to "m : sec"  it is appearing full date and time like: 18.05.2021 20:02:02. But I need only minutes and second and fast and simple possibility to enter this information say:  2 min and 15 seconds. But often format is changed back to hours : mins : secs, and there are a lot of data entry mistakes which make impossible data analysis. 

 

Please advise some easy and simple data entry option for minutes and seconds

4 Replies

@IB800 

  Date and time functions (reference)

To get detailed information about a function, click its name in the first column.

Note: Version markers indicate the version of Excel a function was introduced. These functions aren't available in earlier versions. For example, a version marker of 2013 indicates that this function is available in Excel 2013 and all later versions.

 

Calculate the difference between two times

Let's say that you want find out how long it takes for an employee to complete an assembly line operation or a fast food order to be processed at peak hours. There are several ways to calculate the difference between two times.

 

 

I would be happy to know if I could help.

 

I wish you continued success with your Computer

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote any reply if it helps please, as it will be beneficial to more Community members reading here.

@IB800 

Entering the time you need to enter hours, like 0:2:15. Alternatively you may enter it as 2:15 which means 2 hrs 15 min, but in calculation divide such values on 60. You may test with ="2:15"/60

 

 

best response confirmed by IB800 (New Contributor)
Solution

@IB800  wrote:  ``even if I did customized formatting to "m : sec" it is appearing full date and time like: 18.05.2021 20:02:02``

 

Don't confuse the way that a cell value appears in the Formula Bar with the actual cell value.

 

Enter time in form 2:15.0 (although you might write 2:15,0 if you use comma for the decimal point).  The decimal point tells Excel that the value to the left of the colon is minutes and to the right is seconds.

 

If the time exceeds 60 minutes, you can still enter it in that form; for example, 78:15.0 for 78 min 15 sec.

 

You must also choose the Custom format [m]:ss .  The use of "[m]" instead of "m" displays minutes greater than 59.

 

With 2:15.0 formatted as [m]:ss, the cell displays 2:15, but the Formula Bar displays 12:02:15 AM (in my region; YMMV depending on regional settings).

 

But note:  If we enter only time, the Formula Bar will not show a date.  And even if did, the date would appear to be effectively 0 Jan 1900 in some form, depending on regional settings.

 

-----

 

Possible TMI....

 

OTOH, we can enter date and time in the form 5/18/2021 123:45.67 for 18 May 20021 123 min 45.67 sec with my regional settings.

 

The Formula Bar will display 5/18/2021 2:03:46 AM, again with my regional settings.

 

If we include the date in the cell value, we must use either the Custom format m:ss or h:mm:ss .  The first will show minutes modulo 60.  If we try to use Custom [m]:ss, the number of minutes will be 63841083 (!), including the date serial number times 1440 (i.e. in minutes) !

 

Bottom line:  Do not include date if you want to display time in minutes, especially if the time exceeds 60 minutes.

 

Finally, because the Formula Bar displays time accurate only to the second, we cannot edit the milliseconds of a time value, even if the cell is formatted as [m]:ss.000 .  Instead, we must re-enter the entire time.  It's yet-another limitation of Excel; nothing we can do about it.

 

-----

 

Re: ``But often format is changed back to hours : mins : secs``

 

Regrettably, yes.  When we re-enter some formulas, sometimes Excel automagically chooses a time format, even if we explicitly set the cell to a Custom format.

 

I'm afraid there is no solution for that, other than to beware of it and to reset the cell format after re-entering the formula, if necessary.  Sigh.

 

PS.... Sometimes, there is a work-around that involves disguising the time values involved in the calculation, IIRC.  If you post representative formulas, data and cell formats, we might be able to offer a reasonable work-around.  Then again, maybe not.  Excel can be tenacious (sigh).

Thanx I have idea for work-around, that I will prepare my data input with separate cell for H, separate cell for M and separate for S (like normal numbers) and will use =time(h; m; s) formula to convert those number info in time format to compare with my budgeted time for each transaction.
This will address my major concern, that manual time information input in excel is not convenient and could create a lot of mistakes.