+ Reply to Thread
Results 1 to 6 of 6

Thread: Hide hours and seconds in hh:mm:ss cells? now with attached example

  1. #1
    Registered User
    Join Date
    02-07-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    4

    Hide hours and seconds in hh:mm:ss cells? now with attached example

    I really hope you understand my issue, your help is much appreciated
    Attached Files Attached Files
    Last edited by tnet; 02-07-2012 at 05:19 PM.

  2. #2
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Hide hours and seconds in hh:mm:ss cells? now with attached example

    Hi

    Formula,>> =MINUTE(F6), gives 40, which is ok for you.

    But =MINUTE(F13),gives 55. You want 56!!

    This formula does not add the seconds to minutes if they are more than 32...
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  3. #3
    Registered User
    Join Date
    02-07-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Hide hours and seconds in hh:mm:ss cells? now with attached example

    Wohoo! it works!! :D i see, it just shows the minutes, i can live with that , many thanks

  4. #4
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Hide hours and seconds in hh:mm:ss cells? now with attached example

    You are welcome

    So, pls mark your thread,as SOLVED.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  5. #5
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: Hide hours and seconds in hh:mm:ss cells? now with attached example

    Put this in K6, then copy down and across:

    =MOD(MINUTE(D6)+(SECOND(D6)>30),60)


    This will round up the seconds to the next minutes if necessary.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  6. #6
    Registered User
    Join Date
    02-07-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Hide hours and seconds in hh:mm:ss cells? now with attached example

    THANKS! you have no idea how much loss of hair this problem has caused me, MANY THANKS!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0