+ Reply to Thread
Results 1 to 6 of 6

SUMIFS to aggregate hours in scheduling

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    Los Angeles
    MS-Off Ver
    MS365 v2210
    Posts
    29

    SUMIFS to aggregate hours in scheduling

    Dear Excel Gurus

    I am trying to aggregate hours for 3 projects over their lifespan in a calendar year.

    Each project starts and ends at different periods.

    I have a table for the inputs that has the project ID, job hours, and the project's timeframe (expressed in months) from the period it begins and ends.

    For example: For Project B, the job will start in month #1 and will end in month #3, which means budgeted hours will need to be scheduled for months 1,2 and 3.

    I need to sum up the budgeted hours for all scheduled projects relative to the months they start and end.

    I am using a SUMIFS() formula and, for the most part, I feel it's directionally correct. However, when I set the conditions to sum hours relative to the relevant range of months, greater than and less than, it fails.

    Screenshots and problem statement are attached.

    I hardcoded the expected results for guidance and my SUMIFS() formula is also included.

    Thank You Al!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,851

    Re: SUMIFS to aggregate hours in scheduling

    Cell M11 formula , Drag right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-29-2014
    Location
    Los Angeles
    MS-Off Ver
    MS365 v2210
    Posts
    29

    Re: SUMIFS to aggregate hours in scheduling

    Wk9128

    I appreciate the quick response, unfortunately, I left out a critical element - my apologies. The SUMPRODUCT() will not work if the sizes are uneven between the input table and schedule.
    If I add 5 records in the input table or if I repeat two projects in scheduling, the SUMPRODUCT() errors out. If you have another formula, I would be indebted. See picture. Thank you Again ! Al
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by alwizardus; 03-05-2023 at 09:31 PM.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,851

    Re: SUMIFS to aggregate hours in scheduling

    Pls try this formula

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


    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post,you will see the word PREFIX on the upper left, press the button to select [SOLVED] select "Mark your thread as Solved".
    - you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help
    was given. By doing so you can add to the reputation(s) of those who helped.
    Last edited by wk9128; 03-05-2023 at 09:42 PM.

  5. #5
    Registered User
    Join Date
    04-29-2014
    Location
    Los Angeles
    MS-Off Ver
    MS365 v2210
    Posts
    29

    Re: SUMIFS to aggregate hours in scheduling

    wk9128 -

    Again, I am indebted to your help. Your formula works great. So we can mark it SOLVED.

    But I was wondering if I can pass one last criteria to the problem, which does help me sum hours should we have multiple budgeted job hours per project.
    I tried taking your formula by adding a matrix array formula to sum multiple budgeted jobs hours across each project, and it failed.

    Summing varying budgeted job hours per project is actually the reality and complexity of what am dealing with, but I was hoping I could solve it myself after the first problem statement I presented.

    Let me know if there is a contribution I can make for your time, but this would be my last wrinkle to the problem?

    Updated Picture and Problem worksheet re-posted
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by alwizardus; 03-06-2023 at 04:09 AM.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,851

    Re: SUMIFS to aggregate hours in scheduling

    @alwizardus You're Welcome. Glad to help . Thank You for the feedback and rep.

    ANS. POST#5

    Cell O20 formula , Drag right

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

+ 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. [SOLVED] Convert hours to Years, Months, Weeks, Days and Hours
    By jomili in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2022, 02:13 PM
  2. SUMIFS to aggregate latest applicable data for each investment in a range
    By LarryJFox in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2020, 07:28 PM
  3. [SOLVED] Total cost (hours * rate) across many months where rate changes by range of months
    By rooneype in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-17-2019, 09:23 PM
  4. SUMIFS function returns 0 and totalling hours over 24 hours
    By Spitfire147 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2019, 05:06 PM
  5. SUMIFS with months, names, values Multiple Criteria Based on Months and Names
    By Aaron R Bauer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2016, 06:51 PM
  6. Replies: 6
    Last Post: 09-20-2013, 08:37 PM
  7. [SOLVED] Pivot--data has start and end date range, but need hours broken out by months
    By Laavista in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-10-2012, 02:54 PM

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