I'm attempting to set a variable in VBA to the value returned when executing this array formula during a loop:
{=INDEX(Tbl_Findings[RvwrLen],MATCH(1,(Tbl_Findings[Intake Number]=TEXT($B$2,"0"))*(Tbl_Findings[Question#]=A6),0))+2}
I've attempted to use the Evaluate method but can't seem to get the syntax correct. Cell reference $B$2 is fixed in my worksheet, whereas A6 can be replaced by my variable Q.
Dim Q as Integer
For Q = 1 to 25
Any help would be greatly appreciated.
{=INDEX(Tbl_Findings[RvwrLen],MATCH(1,(Tbl_Findings[Intake Number]=TEXT($B$2,"0"))*(Tbl_Findings[Question#]=A6),0))+2}
I've attempted to use the Evaluate method but can't seem to get the syntax correct. Cell reference $B$2 is fixed in my worksheet, whereas A6 can be replaced by my variable Q.
Dim Q as Integer
For Q = 1 to 25
Any help would be greatly appreciated.