+ Reply to Thread
Results 1 to 4 of 4

Changing Time To 0.75 Instead of 0.45

  1. #1
    Registered User
    Join Date
    07-06-2016
    Location
    Seattle, Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Changing Time To 0.75 Instead of 0.45

    I have a basic "time in" and "time out" timesheet where I enter the times that I come and go. It has the following formula below.

    In a different cell (N2), I have Total Hours shown. N2 cell is formatted as "Time" (not Number, nor General).

    =(D2-C2)+(G2-F2)+(J2-I2)+(M2-L2)

    My problem - if I have 6AM in cell C2 and 12:45PM in cell D2, the "Total Hours" cell (N2) shows as 6:45. I want it to show 6.75 hours.

    Any way to change the formula to get the Total Hours to round to the nearest 0.25 and show 6.75 hours?

    Thanks!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Changing Time To 0.75 Instead of 0.45

    Try

    =((D2-C2)+(G2-F2)+(J2-I2)+(M2-L2))*24

    Format cell as number instead of time

  3. #3
    Registered User
    Join Date
    07-06-2016
    Location
    Seattle, Washington
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Changing Time To 0.75 Instead of 0.45

    Yep - that worked for me. Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Changing Time To 0.75 Instead of 0.45

    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. Changing the time
    By drew.parker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2016, 11:13 AM
  2. How to change time automatic when changing amount of time
    By Andboe in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-16-2015, 05:47 AM
  3. [SOLVED] Changing Time Zones for Date and Time
    By artiststevens in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2014, 02:51 PM
  4. How can I fill a combobox from a range of data which is changing time to time?
    By greenluck57 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-25-2013, 06:15 AM
  5. Changing time
    By Ziggy_ks1 in forum Excel General
    Replies: 1
    Last Post: 04-21-2008, 10:42 PM
  6. Changing time - take an average of the time
    By cosmicgrooves in forum Excel General
    Replies: 6
    Last Post: 12-14-2007, 04:30 PM
  7. changing the Now() time
    By ceemo in forum Excel General
    Replies: 1
    Last Post: 05-23-2005, 07:23 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