+ Reply to Thread
Results 1 to 13 of 13

Calculating total from hours

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Calculating total from hours

    I am trying to calculate total hours

    In A1 8:00
    In A2 5:15
    In A3 I am looking to populate 9.25 as the total hours

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Calculating total from hours

    If formatted as time
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If its text values

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Else post a sample
    Click just below left if it helps, Boo?ath?

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Calculating total from hours

    Assuming that
    A1 = Start Time
    A2 = End Time
    then try this...

    Please Login or Register  to view this content.
    and format as General.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Contributor
    Join Date
    07-29-2014
    Location
    Oz
    MS-Off Ver
    2010
    Posts
    142

    Re: Calculating total from hours

    Deleted.....
    Don't forget to ☆ me if I helped you!

  5. #5
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Calculating total from hours

    I have attached an example. As you can see I can't get the total as I need it. I am not sure if maybe it is the formatting?
    Attached Files Attached Files

  6. #6
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Calculating total from hours

    HI, Refer the attachment
    Attached Files Attached Files

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Calculating total from hours

    Try this formula..
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and then select the formula cell
    and press Ctrl + Shift + ! will give you 9.25 as desired..

    Ctrl + Shift + ! is an shortcut for changing the format to number...
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Calculating total from hours

    hi mikerules,

    The issue is with the input data in case of half an hour to be filled ":30" is not the correct method time format is "hh:mm:ss"
    hh stands for Hours
    mm stands for minutes
    ss stands for seconds

    taking an example for half an hour
    hh is 00 , mm 30 ss 00 the time format to be entered is 00:30:00

    Try this punnam

  9. #9
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Calculating total from hours

    I understand however the employees will never enter it correctly or know to and I want it to allow them to just enter :30 Is there a way to format this so they can do it

  10. #10
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Calculating total from hours

    @ mikerules ,

    1) Are you talking only about the lunch time or even the rest other fields also,
    2) As you said "employees will never enter the data correctly" , at least you would be able to provide the improper data or raw data for a better solution

    Punnam

  11. #11
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Calculating total from hours

    I think the solution is to put the hours and lunch time in a drop down formatted as it should be and they just pick.

    Thanks for your help

  12. #12
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Calculating total from hours

    Yes that will be a good one

    Punnam

  13. #13
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Calculating total from hours

    mikerules,

    If your question is answered & solved mark the thread solved using the thread tools

    Punnam

+ 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. Calculating total hours between two cells exc weekends
    By finch82 in forum Excel General
    Replies: 3
    Last Post: 10-26-2011, 04:38 PM
  2. Calculating total shift hours in a schedule
    By mgandy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-30-2008, 10:52 AM
  3. calculating Total hours
    By paultyler in forum Excel General
    Replies: 2
    Last Post: 06-24-2008, 05:02 PM
  4. calculating total hours between dates
    By ccsooner in forum Excel General
    Replies: 14
    Last Post: 05-03-2008, 04:19 PM
  5. [SOLVED] Calculating Overtime from Hours total
    By Dreamweavn via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-29-2005, 07:06 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