underexaggeration
New Member
- Joined
- Jun 16, 2016
- Messages
- 2
[FONT="]Simplified version so it makes sense. [/FONT]
[FONT="]I have two columns of data. In the first is a series of numbers. In the second is a series of numbers (all integers between 1 and 10) that is generated independantly of the first. [/FONT]
[FONT="]At the bottom of the first column, I want a formula that only sums the values of the column which correspond to a value n in the same row of the second column. [/FONT]
[FONT="]Example [/FONT]
[FONT="]1 5 [/FONT]
[FONT="]5 6 [/FONT]
[FONT="]4 5 [/FONT]
[FONT="]3 7 [/FONT]
[FONT="]1 0 [/FONT]
[FONT="]5 9 [/FONT]
[FONT="]9 8 [/FONT]
[FONT="]8 5 [/FONT]
[FONT="]If n=5, the the formula would output 1+4+8=13, as 1,4 and 8 are the only values in column 1 which correspond to a 5 in column 2. [/FONT]
[FONT="]Thanks everyone! If the answer is "Can't be done!" please let me know so I don't waste any time.[/FONT]
[FONT="]I have two columns of data. In the first is a series of numbers. In the second is a series of numbers (all integers between 1 and 10) that is generated independantly of the first. [/FONT]
[FONT="]At the bottom of the first column, I want a formula that only sums the values of the column which correspond to a value n in the same row of the second column. [/FONT]
[FONT="]Example [/FONT]
[FONT="]1 5 [/FONT]
[FONT="]5 6 [/FONT]
[FONT="]4 5 [/FONT]
[FONT="]3 7 [/FONT]
[FONT="]1 0 [/FONT]
[FONT="]5 9 [/FONT]
[FONT="]9 8 [/FONT]
[FONT="]8 5 [/FONT]
[FONT="]If n=5, the the formula would output 1+4+8=13, as 1,4 and 8 are the only values in column 1 which correspond to a 5 in column 2. [/FONT]
[FONT="]Thanks everyone! If the answer is "Can't be done!" please let me know so I don't waste any time.[/FONT]