I have a workbook:
sheet1:
id name ...(100 columns)
1 a
2 b
3 c
...
(about 300,000 rows)
sheet2:
id
3
4
...
(about 50,000 rows)
I want to select rows in sheet1 with id in sheet2, I tried using vlookup in sheet2:
VLOOKUP($A2, sheet1!$A:$CV, 1)
the problem is that I have 100 columns, autofill the cell horizontally doesn't automatically add the last parameter in vlookup, i.e., I have to manually change it to 2,3,...,100. Is there any better way to do this?