+ Reply to Thread
Results 1 to 4 of 4

AUTO SUM will not work with cells formatted as time

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    Marysville, MI
    MS-Off Ver
    2010
    Posts
    2

    AUTO SUM will not work with cells formatted as time

    I have cells formatted as time using the Custom setting - "[hh]:mm:ss". I can individually add multiple cells i.e. A1+A2+A3 and have the correct answer returned. However, when I use the AUTO SUM function it returns 00:00:00. This result is true whether or not the sum result is more or less than 24 hours. HELP!

    Thanks,

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: AUTO SUM will not work with cells formatted as time

    Works for me:


    A
    B
    1
    10:15:20
    2
    11:20:30
    3
    03:40:20
    4
    25:16:10
    =SUM(A1:A3)
    5
    [h]:mm:ss



    Puts in the SUM and even the correct formatting for hours greater than 24.



    Regards, TMS
    Last edited by TMS; 10-09-2014 at 01:35 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: AUTO SUM will not work with cells formatted as time

    Here's what's happening. Your data is being seen as text. When you use aritmetric symbols (+,-,*,/) it forces excel to see them as numbers (if possible). The SUM function does not work that way.

    You need to convert your text to numbers. One easy way. In a blank cell, enter a 1. Copy it and select your data range with times and PASTE SPECIAL> Multiply> OK. That should fix the problem
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

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

  4. #4
    Registered User
    Join Date
    10-09-2014
    Location
    Marysville, MI
    MS-Off Ver
    2010
    Posts
    2

    Re: AUTO SUM will not work with cells formatted as time

    ChemistB

    THANK YOU THANK YOU THANK YOU!!!

+ 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. Auto skip colored cells VBA but include conditionally formatted cells also
    By Cremorneguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2014, 03:44 AM
  2. Auto copy formatted cells to new worksheet
    By texas tornado in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2012, 12:36 PM
  3. How to totalise time formatted cells
    By olafurbj in forum Excel General
    Replies: 13
    Last Post: 09-16-2011, 12:32 PM
  4. CountByColor to work on Conditionally formatted cells - Need help
    By sureng19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2010, 07:30 PM
  5. Add values to time formatted cells
    By Chutney in forum Excel General
    Replies: 1
    Last Post: 11-30-2009, 07:52 AM

Tags for this Thread

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