+ Reply to Thread
Results 1 to 5 of 5

Calculating hourly profit: Converting Duration (hours) to number

  1. #1
    Registered User
    Join Date
    06-20-2023
    Location
    Sydney
    MS-Off Ver
    Google sheets
    Posts
    2

    Calculating hourly profit: Converting Duration (hours) to number

    Hi guys,

    Currently using google sheets and I am not sure how to convert the time duration of 5:30 hours (see below) into a number so I can work out an hourly rate - without having to manually enter into the formula i.e =1000/5.5 each time.


    Time Start 19:00
    Time End 00:30
    Duration (hr) 05:30

    I am sure there is a simple solution but have not been able to find it!

    Any assistance would be much appreciated.

    Cheers

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,537

    Re: Calculating hourly profit: Converting Duration (hours) to number

    You've posted in the Excel section - I am moving the thread for you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Calculating hourly profit: Converting Duration (hours) to number

    If start time in A1 and end time in A2, please try =MOD(A2-A1,1) and format cell as h:mm

  4. #4
    Registered User
    Join Date
    06-20-2023
    Location
    Sydney
    MS-Off Ver
    Google sheets
    Posts
    2

    Re: Calculating hourly profit: Converting Duration (hours) to number

    Thank you! that worked.

    The only thing I did additionally to calculate the hourly rate was =B12/(B5*24) with B5 being the h:mm.

    Appreciate the assistance!

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Calculating hourly profit: Converting Duration (hours) to number

    Thanks for your feedback, Glad to have help.

    Please consider adding reputation to any helpers you think they deserve.
    In that case please click * Add Reputation left below their answers.

+ 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. Replies: 9
    Last Post: 05-04-2020, 08:34 AM
  2. Converting duration or time into a number
    By awcwa in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-27-2013, 05:32 PM
  3. Calculating wages from hours worked and hourly rates?
    By mathrocks in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-13-2010, 03:22 AM
  4. Converting minutes to hours and calculating pay
    By krezza in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-06-2010, 06:43 AM
  5. Calculating hours worked by duration - Pivot Tables
    By Daniel Black in forum Excel General
    Replies: 2
    Last Post: 07-08-2009, 07:29 AM
  6. calculating total payment - Time duration x Hourly Rate
    By sobiafiaz in forum Excel General
    Replies: 3
    Last Post: 10-06-2007, 05:24 PM
  7. Replies: 0
    Last Post: 08-23-2005, 12:33 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