+ Reply to Thread
Results 1 to 5 of 5

Sum Rows based on Outline_Level

  1. #1
    Registered User
    Join Date
    02-10-2011
    Location
    Durham, NC
    MS-Off Ver
    Excel 2016 MAC
    Posts
    3

    Question Sum Rows based on Outline_Level

    I would like to have a formula to add the numbers in one column based on the outline_level in another column. The issue at hand is I have an outline level that starts with 1, then 2, then 3. I will have one level 1, multilple level 2's, with lots of level 3's under each level 2.

    Example:
    Column B Column K
    Outline_Level Hours
    1 total of all level 2's
    2 total of level 3's under this level 2 (not to include the next level 2)
    3 hours
    3 hours
    3 hours
    3 hours
    2 total of level 3's under this level 2 (not to include the next level 2)
    3 hours
    3 hours
    3 hours

    I have a couple of formulas already for the level 1 and level 2, but cannot figure out how to stop at the next level 2.

    SUMIF(B9:B613, 2, K9:K613) (sums all the level 2's for the level 1 effort)

    SUMIF(B10:B614, 3, K10:K614) (sums all the level 3's under the level 2 effort)

    Any help would be greatly appreciated.
    Last edited by NBVC; 05-12-2011 at 03:00 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Sum Rows based on Outline_Level

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    Supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-10-2011
    Location
    Durham, NC
    MS-Off Ver
    Excel 2016 MAC
    Posts
    3

    Re: Sum Rows based on Outline_Level

    Hopefully the attachment will show more details in which I'm trying to resolve.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Sum Rows based on Outline_Level

    Try this formula in K9:

    Please Login or Register  to view this content.
    then copy K9 cell and paste to the other gray cells in the column...

  5. #5
    Registered User
    Join Date
    02-10-2011
    Location
    Durham, NC
    MS-Off Ver
    Excel 2016 MAC
    Posts
    3

    Thumbs up Re: Sum Rows based on Outline_Level

    NBVC,

    Many Thanks!!!! Works like a charm.

    kpbeard

+ 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