I have a dynamic table in a column that counts down numbers (think 29, 28, 27, 26, 25... 4, 3, 2, 1, 0, -1, etc). These numbers will constantly change, and I'll constantly want different numbers based on a criteria.
I've applied CELL and INDEX(MATCH) to get the Cell references I need. In this example I'm grabbing 4 and 29 (would be dynamic in the final formula, but I don't need help there) based on the MATCH.
=CELL("address",INDEX($C$101:$C$166,MATCH(29,$C$101:$C$166,0))), which will return: $C$112
=CELL("address",INDEX($C$101:$C$166,MATCH(4,$C$101:$C$166,0))), which will return: $C$137
A final result would function like =SUM($C$112:$C$137). When I try to combine the formulas it won't work, what am I doing wrong? How I'm thinking of the combination currently is below:
=SUM(CELL("address",INDEX($C$101:$C$166,MATCH(29,$C$101:$C$166,0))):CELL("address",INDEX($C$101:$C$166,MATCH(4,$C$101:$C$166,0))))
Thank you for the help!
Bookmarks