The following array formula works correctly:
=MAX((INDIRECT("R3"&"C66:R2533C66",FALSE)=BN4)*($BR$3:$BR$2533))-BR4
But, if i try to use the row() function, it gives #VALUE:
=MAX((INDIRECT("R"&ROW(BS3)&"C66:R2533C66",FALSE)=BN4)*($BR$3:$BR$2533))-BR4
Of course ROW(BS3) evaluates to "3", so, it might seem that the second would also work.
Is there any way to get this to work, to be able to use the row() function in the array formula, or can array formulas simply not be used in this way?
Thanks!
Tom
=MAX((INDIRECT("R3"&"C66:R2533C66",FALSE)=BN4)*($BR$3:$BR$2533))-BR4
But, if i try to use the row() function, it gives #VALUE:
=MAX((INDIRECT("R"&ROW(BS3)&"C66:R2533C66",FALSE)=BN4)*($BR$3:$BR$2533))-BR4
Of course ROW(BS3) evaluates to "3", so, it might seem that the second would also work.
Is there any way to get this to work, to be able to use the row() function in the array formula, or can array formulas simply not be used in this way?
Thanks!
Tom