Hi,
I have the following simplified excel data:
column1 column2 column3 column4
row2 20 3 108 66
row3 17 54 99 208
row4 15 17 5 57
row5 9 98 44 3
I am looking for a formula that first matches the row number based on a given value (for example '3') and returns the value of the first column. Next, it will sum all the matches found. In this example with 3. It will find '3' in columns 2 and 4 and returns 20 + 9 = 29. Is that possible?
So far I have: =SUM(INDEX(H2:AF16,MATCH(M25;Stage2;0);1))
But this will only look in the range set by Stage2 (which is only one column). Extending this range to multiple columns does not work.
I have the following simplified excel data:
column1 column2 column3 column4
row2 20 3 108 66
row3 17 54 99 208
row4 15 17 5 57
row5 9 98 44 3
I am looking for a formula that first matches the row number based on a given value (for example '3') and returns the value of the first column. Next, it will sum all the matches found. In this example with 3. It will find '3' in columns 2 and 4 and returns 20 + 9 = 29. Is that possible?
So far I have: =SUM(INDEX(H2:AF16,MATCH(M25;Stage2;0);1))
But this will only look in the range set by Stage2 (which is only one column). Extending this range to multiple columns does not work.