Hi, I am able to assemble a cell range (O21:O162) using this formula:
=CONCATENATE("O21:O",ROW(XLOOKUP(INDEX(B21:B670,MATCH(TRUE,B21:B670<0,0)),B21:B670,A21:A670)))
But when I insert it into a sum function, I get a #VALUE! error. Can someone show me what I'm doing wrong?
=SUM(CONCATENATE("O21:O",ROW(XLOOKUP(INDEX(B21:B670,MATCH(TRUE,B21:B670<0,0)),B21:B670,A21:A670))))
I just wanted to find the sum of all values in the range I put together (O21:O162).
=CONCATENATE("O21:O",ROW(XLOOKUP(INDEX(B21:B670,MATCH(TRUE,B21:B670<0,0)),B21:B670,A21:A670)))
But when I insert it into a sum function, I get a #VALUE! error. Can someone show me what I'm doing wrong?
=SUM(CONCATENATE("O21:O",ROW(XLOOKUP(INDEX(B21:B670,MATCH(TRUE,B21:B670<0,0)),B21:B670,A21:A670))))
I just wanted to find the sum of all values in the range I put together (O21:O162).