+ Reply to Thread
Results 1 to 2 of 2

Excel: How to convert time format into number format that can be added?

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    1

    Excel: How to convert time format into number format that can be added?

    Hi
    I just joined this wonderful forum. My name is Frances. I am creating a timesheet in which total hours are both expressed in number format and time format. My problem is that I am trying to add both formats figures to arrive at total hours worked and I can figure out how to either convert the number format or the time format so I get a grant total from both in number format. I appreciate any help on this since I am totally baffled by the problem.
    Many thanks, Frances.

  2. #2
    Forum Guru tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Excell: How to convert time format into number format that can be added?

    Frances,

    Welcome to the forum!
    Excel handles dates/times as datecodes. Each whole number is 1 whole day, and then a fraction is used to determine the time. So if you're just working with times and not dates, Excel uses 0.25 as the datecode for 6:00 AM because 6:00 AM is one fourth of the way through a whole day. Using this, you can convert a time value to the number of hours with *24 (0.25 * 24 = 6) because there are 24 hours in a day.
    Or you can convert a time value to the number of minutes with *24*60 (0.25*24*60 = 360) because there are 60 minutes in an hour.

    Without seeing some sample data and expected results however, its difficult to give you any information more specific to your requirements.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

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