0

I'm trying to put =IFERROR(IF(C$1>-1,INDEX(A:A,MATCH(A1,B:B,0)),""),0) in defined range G1:H10

Me.Range("G1:H10").Formula = "=IFERROR(IF(C$1>-1,INDEX(A:A,MATCH(A1,B:B,0)),""),0)"

The code doesn't work and I think it's because of IF and IFERROR
Any help how to fix it?
Thanks.

Tim Williams
  • 154,628
  • 8
  • 97
  • 125
ggmkp
  • 665
  • 3
  • 16
  • 27

0 Answers0