kohltonyork
New Member
- Joined
- Dec 29, 2020
- Messages
- 10
- Office Version
- 2019
- Platform
- Windows
Hello, I have recently been working on a spreadsheet to analyze NBA stats and other data. I have pretty much used Power Query to import all data from numerous different sites. For the most part it has worked great, I use a VLOOKUP function to import the data into one master sheet to see all of the most important information in a central location.
My problem is when importing the data from numerous sites, player names can very site to site. A player like “Michael Porter Jr.” has this problem as some sites he is listed only as “Michael Porter”. My initial idea worked for this case as I used power query so split the names at each space delimiter and removed the 3rd column which was always the suffix after the name. But another problem arose with a player named “C.J. McCollum” where on some sites he’s listed as “CJ” a subtle difference that completely messes up the VLOOKUP function. Any ideas on how I can fix this?
Thank you much!
My problem is when importing the data from numerous sites, player names can very site to site. A player like “Michael Porter Jr.” has this problem as some sites he is listed only as “Michael Porter”. My initial idea worked for this case as I used power query so split the names at each space delimiter and removed the 3rd column which was always the suffix after the name. But another problem arose with a player named “C.J. McCollum” where on some sites he’s listed as “CJ” a subtle difference that completely messes up the VLOOKUP function. Any ideas on how I can fix this?
Thank you much!