I've created an editable link to my Excel workbook here:
https://1drv.ms/x/s!Ai_INzFRkuU2jV_Gcv3wSI0uwwBZ
My objective is to create a column in the "DK" sheet, column "I", that returns the weekly, percentile-ranking of each respective player. The weekly, percentile-ranking of each player is represented in the subsequent sheets. There is one sheet for each position: QB, RB, WR, TE, DST; and, column "I" is the percentile ranking in each sheet.
My formula is:
IF(A2="QB",VLOOKUP(B2,QB!$B$2:$I$27,8,0),IF(DK!A2="RB",VLOOKUP(B2,RB!$B$2:$I$59,8,0),IF(DK!A2="WR",VLOOKUP(B2,WR!$B$2:$I$58,8,0),IF(DK!A2="TE",VLOOKUP(B2,TE!$B$2:$I$32,8,0),IF(DK!A2="DST",VLOOKUP(B2,DST!$B$2:$I$33,8,0),0)))))
The error occurs when I get to "DST"s. For all of them, and only them, this formula returns "N/A". For some reason, the VLookup portion of the formula does not recognize the entries in sheet "DST", column "B", as matching those in sheet "DK" column "B". I suspect this is a formatting issue, but I still can't figure how to resolve it. I've ensured their spelling, checked for spaces, and took the time to properly format each column in identical fashion, all to no avail.
It might be helpful to mention that I used "Text to columns" to parse, what was originally one column, into columns A, B, and C of sheets QB, RB, WR, TE, and DST.
How do I get column "I" in sheet "DK" to return column "I" in sheet "DST", for those observations where Position = DST, without infringing on the rest of the formula?
Let me know if there's anything else I can provide. Thank you for your help!