+ Reply to Thread
Results 1 to 7 of 7

Different ways of formatting time

  1. #1
    Registered User
    Join Date
    10-06-2015
    Location
    New Mexico, USA
    MS-Off Ver
    2010
    Posts
    7

    Different ways of formatting time

    Is there a way to format cells so that I can enter "1.5" into the cell and it change to "1:30", or enter 1.75 and the cell show "1:45" and vis-a-versa?

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Different ways of formatting time

    if you have 1.5 in a cell (A2 for example) and you point this formula at it... =TIME(INT(A2),(A2-INT(A2))*60,0) it will show 1:30 AM

    AND you can take 1:30 AM and multiply it by 24 and format as general or number and it will return 1.5
    Last edited by Sam Capricci; 10-07-2015 at 04:48 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    10-06-2015
    Location
    New Mexico, USA
    MS-Off Ver
    2010
    Posts
    7

    Re: Different ways of formatting time

    I did not have success with this. I put that formula into A2 and tried typing 1.5 and it shows "1/1/1900 12:00:00 PM." Maybe I'm misunderstanding you. What does "point this formula at it" mean?

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Different ways of formatting time

    it means that if your "time value" is in A2, you use that formula which is "pointed at" A2.
    you need to format the cell you put the formula in as time and it will show 1:30 AM.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Different ways of formatting time

    Row\Col
    A
    B
    C
    1
    1.5
    Format of A1: General
    2
    1:30
    A2: =A1/24 Format of A2: h:mm
    3
    1.5
    A3: =A2*24 Format of A3: General
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    10-06-2015
    Location
    New Mexico, USA
    MS-Off Ver
    2010
    Posts
    7

    Re: Different ways of formatting time

    Awesome, that worked great. Thank you very much!!

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Different ways of formatting time

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. To many ways... but it is fun
    By vbaorvb in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-03-2014, 01:17 PM
  2. Time Formatting - Not able to sum up the time when converted to text format.
    By sagarshinde01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 11:38 AM
  3. Formatting a total time entry and building a cumulative time formula.
    By TMc10 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2012, 10:26 PM
  4. Newbie trying to find ways to save time (ie $)
    By djaurit in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-04-2012, 02:48 PM
  5. Replies: 3
    Last Post: 11-06-2012, 01:37 AM
  6. Replies: 6
    Last Post: 02-06-2012, 12:25 PM
  7. Replies: 4
    Last Post: 01-11-2012, 07:59 PM
  8. Replies: 2
    Last Post: 08-26-2009, 02:56 PM

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.6.0 RC 1