I have a bunch of .csv files that have IDs that I am trying to insert into a formula. The IDs are all listed in column F. Here is F in my sheet:
F
701
684
128
701
485
701
...
Each CSV file is in a folder and titled the exact contents of F plus .csv so "701.csv" "684.csv" etc. Here is the formula I am trying but is not working:
=VLOOKUP(D1, F1 & '.csv'!$B:$C,2)
This formula works fine if I replace the "F1 & '.csv'" portion with just the ID like so:
=VLOOKUP(D1, '701.csv'!$B:$C,2)
But I don't want to have to manually enter the ID for every single row (there's hundreds of rows).
Any help would be greatly appreciated!
"'"&F1&".csv'!$B:$C"
=VLOOKUP(D2,"'"&F2&".csv'!$B:$C",2)
. Also tried doing the full directory and still error:=VLOOKUP(D2,"'C:\Users\person\Desktop\ub\CF\AS\["&F2&".csv]"&F2&"'!$B:$C",2)