Hello,
I am attempting to write a macro and the Index match formula is not computing correctly as I am returning a #N/A. Here is my formula as it appears in VBA
Dim LR As Long
LR = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
Range("H2:H" & LR).Formula = "=INDEX(KPI_Metrics!E2:E" & LR & ", MATCH('Completed Allocated'! B2, KPI_Metrics!B2:B" & LR & ",0))"
Any assistance provided would be greatly appreciated!
I am attempting to write a macro and the Index match formula is not computing correctly as I am returning a #N/A. Here is my formula as it appears in VBA
Dim LR As Long
LR = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
Range("H2:H" & LR).Formula = "=INDEX(KPI_Metrics!E2:E" & LR & ", MATCH('Completed Allocated'! B2, KPI_Metrics!B2:B" & LR & ",0))"
Any assistance provided would be greatly appreciated!