I have an array with 5 columns and variable rows. I am using Vlookup, which works for the array I have, with 5 columns and 13 rows.
The code is as follows:
SUB macro1()
Range("F2").select
activecell.formulaR1C1="=IFERROR(Vlookup(RC[-1],R2C1:R13C5,4,FALSE),0)"
Range("F2").select
Selection...