Hello
I want to consolidate (sum) the consecutive only numbers in a column (i.e. if numbers are non consecutive, then they should not be added).
For example, in the below table:
I need to consolidate/sum:
For K in Column A, the cells B2, B3 together and no other cell (as they are not consecutive).
For L in Column A, the cells B8, B9, B10 no and other cell (as they are not consecutive).
The table then would look like below, if we put the consolidated numbers (sums) into Column C
Any neat way for this? Even with pivot!
Thanks!
I want to consolidate (sum) the consecutive only numbers in a column (i.e. if numbers are non consecutive, then they should not be added).
For example, in the below table:
Column A | Column B |
K | 3 |
K | 2 |
K | |
K | 3 |
K | |
K | 4 |
L | 2 |
L | 1 |
L | 2 |
L | |
L | 3 |
I need to consolidate/sum:
For K in Column A, the cells B2, B3 together and no other cell (as they are not consecutive).
For L in Column A, the cells B8, B9, B10 no and other cell (as they are not consecutive).
The table then would look like below, if we put the consolidated numbers (sums) into Column C
Column A | Column B | Column C |
K | 3 | 5 |
K | 2 | 5 |
K | ||
K | 3 | |
K | ||
K | 4 | |
L | 2 | 5 |
L | 1 | 5 |
L | 2 | 5 |
L | ||
L | 3 |
Any neat way for this? Even with pivot!
Thanks!