# Sum Rows based on Outline_Level

1. ## 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.

2. ## 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!

3. ## Re: Sum Rows based on Outline_Level

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

4. ## 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. ## Re: Sum Rows based on Outline_Level

NBVC,

Many Thanks!!!! Works like a charm.

kpbeard

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### 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