+ Reply to Thread
Results 1 to 6 of 6

Sum the time in hours/minutes based on selection in drop down list.

  1. #1
    Registered User
    Join Date
    02-24-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Exclamation Sum the time in hours/minutes based on selection in drop down list.

    I need a formula that will sum the time in hours or minutes depending on the selection of the drop down list. For instance, in cell A, I have a drop down list, In cell B, I want to add the time spent on all items from the drop down list......that formula I have figured out, however in cell C, I want to add ONLY time spend. That formula is what I do not have. PLEASE HELP ME. I appreciate any effort to solve this.
    Last edited by dkboggs; 03-03-2013 at 09:28 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Sum the time in hours/minutes based on selection in drop down list.

    Could you give us some idea of your layout? Which cells contain the times and which cells contain the Sun, Rain, Fog etc.?
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    02-24-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sum the time in hours/minutes based on selection in drop down list.

    See my attachment
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-24-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sum the time in hours/minutes based on selection in drop down list.

    Quote Originally Posted by Spencer101 View Post
    Could you give us some idea of your layout? Which cells contain the times and which cells contain the Sun, Rain, Fog etc.?
    see attachment

  5. #5
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Sum the time in hours/minutes based on selection in drop down list.

    You could make life easy for yourself and add a column that works out the time for each row, then use SUMPRODUCT to sum that column for each of the relevant values.

    See the attached for an example of what I mean. Additional column in red. Formula in the yellow cell.
    This is ONE way of doing it. I'm sure there are nicer ways.


    Tracking Log.xlsx

  6. #6
    Registered User
    Join Date
    02-24-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sum the time in hours/minutes based on selection in drop down list.

    Thats is what I needed. You da man!

+ 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