+ Reply to Thread
Results 1 to 2 of 2

Calculating hours worked from one cell

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Calculating hours worked from one cell

    Hi All,

    Im trying to calculate the number of hours that has elapsed say form one cell.

    Cell A1 has a string which contain 09:45-13:57 how would I calculate the hours elapsed.

    Can anyone point me in the right direction.

    Regards

    Dogo

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Calculating hours worked from one cell

    Hello and welcome to the forum.

    You can use this:
    =RIGHT(A1,5)-LEFT(A1,5)
    Formatted as Custom h:mm

    or you can use this:
    =(RIGHT(A1,5)-LEFT(A1,5))*24
    for the number of hours

+ 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: 8
    Last Post: 09-30-2017, 07:00 PM
  2. Replies: 5
    Last Post: 04-13-2017, 11:05 AM
  3. Calculating hours worked overnight, (including 24 hours)
    By Shaun3080 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2015, 04:45 AM
  4. Calculating actual hours worked only in core hours
    By Val C in forum Excel General
    Replies: 3
    Last Post: 02-27-2013, 01:54 AM
  5. Replies: 0
    Last Post: 05-14-2012, 05:36 PM
  6. Calculating basic hours worked, between a time range and premium hours worked
    By RoyLittle0 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-07-2012, 06:59 AM
  7. Replies: 0
    Last Post: 01-05-2012, 06:23 AM

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