+ Reply to Thread
Results 1 to 3 of 3

Two columns (Hours/ Days) (Quantity) Want to sum the hours/ and days

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Two columns (Hours/ Days) (Quantity) Want to sum the hours/ and days

    Hello,

    Heres my relatively simple problem:

    A B
    Qty @
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    5.0 HRS
    8.0 HRS
    10.0 HRS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    1.0 DAYS
    10.0 HRS
    8.0 HRS




    I have two columns one that signifies days and one that signifies hours.

    I want a formula to sum the days and the hours separately depending on what the corresponding row says.

    ie:
    DAYS = 34
    HRS = 46

    I was thinking a SUMIF formula was the one to use...

    thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Two columns (Hours/ Days) (Quantity) Want to sum the hours/ and days

    Try this:

    =SUMIF(B:B,"DAYS",A:A)

    and:

    =SUMIF(B:B,"HRS",A:A)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Two columns (Hours/ Days) (Quantity) Want to sum the hours/ and days

    Yes it did... Thank you very much!

+ 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. Work Schedule that calculates hours, lunches, days off and vacation days
    By tameronstarr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2014, 12:06 PM
  2. [SOLVED] Function or macro to convert string with weeks, days, hours, minutes to Hours
    By kknb0800 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2012, 11:35 AM
  3. Convert days -> Years, Months, Days, Hours, Minutes, Seconds
    By brharrii in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2012, 06:44 PM
  4. Replies: 0
    Last Post: 04-07-2011, 01:46 AM
  5. Converting hours to 8 hour days, 31 day limit? Formula blows up at 256 hours..
    By krfarmer in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-25-2010, 05:21 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