Razorramen
New Member
- Joined
- May 10, 2018
- Messages
- 1
I'm getting a compile error "Expected: end of statement" with "Pass" being highlighted. Any help getting this code to work would be greatly appreciated.
Below is the code in the worksheet that works correctly
Code:
Range("I2").Select
ActiveCell.FormulaArray= "=IFERROR(Application.WorksheetFunction.Index(Practical!$O$1:$O$10000,Application.WorksheetFunction.Match($A2&"Pass",Practical!$A$1:$A$10001&Practical!$M$1:$M$10001,0)),"")"
Below is the code in the worksheet that works correctly
Code:
{=IFERROR(INDEX(Practical!$O$1:$O$10000,MATCH($A2&"Pass",Practical!$A$1:$A$10000&Practical!$M$1:$M$10000,0)),"")}