Trouble with VLOOKUP from Power Query to Master Sheet

kohltonyork

New Member
Joined
Dec 29, 2020
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
Hello! I am currently putting together a spreadsheet that will help me break down NBA player analytics. My idea here is to use Excels power query to scrape data from sites where NBA Stats are stored and transfer key information into a mastersheet where I can take a look at the important information all in one place. To do this I have been using the VLOOKUP formula and for the most part has worked okay, but the last few I have done have resulted in an error that I can’t seem to fix. I’ve tried many things but with a very basic knowledge of excel it was way beyond me how to fix it.


Here is an open copy of my spreadsheet as it seems like something that needs to be looked at rather than guessing answers.

2 Examples of my problem:
On the sheet named ‘Mastersheet’ Cell I4 was showing #N/A (which I created a formula to make it blank) when clearly in sheet “NumberFire” Anthony Davis is projected 35.73 minutes for the night.

Another example in ‘Mastersheet’ is Will Barton in cell F30 he is showing a blank for Avg. Minutes. While in ‘NBA Stuffer Stats’ he shows 31 minutes per game.

It makes no sense why the values are not found even thought I have checked and they seem to be exactly the same name through both sites. This problem continues many times throughout the spreadsheet and I’m not sure why. If you could help that would be incredible! I’ve already put some hard work into this project and would hate to see it come to a halt due to this.
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

sandy666

Banned - Rules violations
Joined
Oct 24, 2015
Messages
7,499
1. Anthony Davis on NumberFire doesn't exist
2. =IFNA(VLOOKUP(FanDuel!A30, 'NBA Stuffer Stats'!A$2:AA$384, 5, FALSE),"") or use A:AA (not recommended)

Will BartonDENHOUSF$ 5,8003130.450000760.98225808928.19
 
Last edited:

sandy666

Banned - Rules violations
Joined
Oct 24, 2015
Messages
7,499
or use =IFNA(VLOOKUP(FanDuel!A30, 'NBA Stuffer Stats'!A$2:AA$1000, 5, FALSE),"")
 

GraH

Well-known Member
Joined
Mar 22, 2020
Messages
707
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Why using VLOOKUP when you already have a Power Query solution?
You could load and then merge the mastersheet with your first query and expand the required columns.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,842
Messages
5,627,197
Members
416,229
Latest member
mohammadmihdi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top