Hi all,
I am looking forward to see your suggestions for my excel problem:
I have consecutive arrays all of which are in descending order in Column A. Each array starts from a random number and always ends up with 1. Each array is seperated from other by random variables. For each number in array there is a corresponding value in column B. What I want to do is to find out the sum of numbers in column B for each consecutive set.
To give an example: I want to find out and show the sum for row 1 to 4 (A have consecutive numbers) on B1 which is 11. Then, ignore row 5. Then starts another consecutive set. Find its sum and show the result on row 6 which is 27. The issue is I do not know the length of each array, it is variable.
----A-- B
1 -- 7 - 5
2 -- 6-- 1
3-- 5--- 2
4 --4 -- 3
5 --1 --6
6 --4 --9
7 --3 --4
8 --2 --6
9 --1 --8
10 -7 --2
11 -3 --1
12 -2 --0
13 -1 --5
Thanks!
I am looking forward to see your suggestions for my excel problem:
I have consecutive arrays all of which are in descending order in Column A. Each array starts from a random number and always ends up with 1. Each array is seperated from other by random variables. For each number in array there is a corresponding value in column B. What I want to do is to find out the sum of numbers in column B for each consecutive set.
To give an example: I want to find out and show the sum for row 1 to 4 (A have consecutive numbers) on B1 which is 11. Then, ignore row 5. Then starts another consecutive set. Find its sum and show the result on row 6 which is 27. The issue is I do not know the length of each array, it is variable.
----A-- B
1 -- 7 - 5
2 -- 6-- 1
3-- 5--- 2
4 --4 -- 3
5 --1 --6
6 --4 --9
7 --3 --4
8 --2 --6
9 --1 --8
10 -7 --2
11 -3 --1
12 -2 --0
13 -1 --5
Thanks!