Hi all,
I would like to use functions like LARGE, SMALL, MAX, MIN and SUM in spilled arrays and get the values PER row instead of the total. For Example:
The only solution I have found online is by using a mix of SUBTOTAL and OFFSET, but I would like to avoid having volatile functions.
=SUBTOTAL(4,OFFSET(INDEX(Rng,1,1),ROW(Rng)-MIN(ROW(Rng)),,,COLUMNS(Rng)))
This works, but Rng needs to exists in the spreadsheet, if instead of Rng I have an array defined inside of the equation it returns #VALUE!. Meaning I cannot do multiple operations within one single equation.
You help would be appreciated! Thanks.
I would like to use functions like LARGE, SMALL, MAX, MIN and SUM in spilled arrays and get the values PER row instead of the total. For Example:
x | y | =MAX(A2:B2) dragged down | =MAX(A2:B5) |
1 | 2 | 2 | 8 |
3 | 4 | 4 | |
5 | 6 | 6 | |
7 | 8 | 8 |
The only solution I have found online is by using a mix of SUBTOTAL and OFFSET, but I would like to avoid having volatile functions.
=SUBTOTAL(4,OFFSET(INDEX(Rng,1,1),ROW(Rng)-MIN(ROW(Rng)),,,COLUMNS(Rng)))
This works, but Rng needs to exists in the spreadsheet, if instead of Rng I have an array defined inside of the equation it returns #VALUE!. Meaning I cannot do multiple operations within one single equation.
You help would be appreciated! Thanks.