Hi,
I'm hoping you can help. I'm trying to automatically add some values of a Bill of Materials. I have numbers in column A which represent the level in the Bill of Materials, column B is the price, column C is where to totals should go. The criteria is that if the next row is greater than the current row, then the value is entered into column C of the current row, additional rows that are the same value as that row are also added in the same column C. The addition stops when a row is greater or less than the value being checked.
(I'm expecting blanks as shown below)
Many thanks, D
I'm hoping you can help. I'm trying to automatically add some values of a Bill of Materials. I have numbers in column A which represent the level in the Bill of Materials, column B is the price, column C is where to totals should go. The criteria is that if the next row is greater than the current row, then the value is entered into column C of the current row, additional rows that are the same value as that row are also added in the same column C. The addition stops when a row is greater or less than the value being checked.
(I'm expecting blanks as shown below)
1 | 10 | 10 | =B2 |
2 | 12 | 27 | =B3+B4 |
3 | 13 | ||
3 | 14 | 31 | =B5+B6 |
4 | 15 | ||
4 | 16 | ||
2 | 17 | ||
2 | 18 | 60 | =B9+B10+B11 |
3 | 19 | ||
3 | 20 | ||
3 | 21 |
Many thanks, D