Hi everyone!
I'm trying to understand why the following formula doesn't work...
{=SUM(--(T(OFFSET(A1,ROW(INDIRECT({"A3","A5","A8"}))-1,0))="x"))}
It should count the number of specifically chosen cells in Column A that contains 'x'.
For some reason, it doesn't like ROW(INDIRECT(...), even though on its own it returns an array of numbers which should feed the second arguement of the OFFSET function.
If I replace ROW(INDIRECT(...) with {3,5,8}, the formula returns the correct answer.
While I know that using ROW(INDIRECT(...) is not really practical, I'd like to understand why it doesn't work.
Thanks for your help!
I'm trying to understand why the following formula doesn't work...
{=SUM(--(T(OFFSET(A1,ROW(INDIRECT({"A3","A5","A8"}))-1,0))="x"))}
It should count the number of specifically chosen cells in Column A that contains 'x'.
For some reason, it doesn't like ROW(INDIRECT(...), even though on its own it returns an array of numbers which should feed the second arguement of the OFFSET function.
If I replace ROW(INDIRECT(...) with {3,5,8}, the formula returns the correct answer.
While I know that using ROW(INDIRECT(...) is not really practical, I'd like to understand why it doesn't work.
Thanks for your help!