A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
For some reason when I run this
Range(Cells(1, "A"), Cells(Rows.Count, "A").End(xlUp)).Offset(0, 1).FormulaR1C1 = "=VLOOKUP(RC[-1],Trucks!A:B,2,FALSE)"
It changes the vlookup to this =VLOOKUP(A1,Trucks!A:(B),2,FALSE)
Note the 2^nd^ column in the vlookup is in parentheses and if I remove them in the cell the vlookup works correctly
Also I wanted to add an IFERROR and return a blank instead of #N/A, if that is not possible, I will just filter that out on a subsequent step
=IFERROR(VLOOKUP(A1,Trucks!A:B,2,FALSE),"")