Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Using a vlookup to pull from a table of a team min and max values for specific stats

$
0
0

So I am working on creating a stat sheet and learning a lot as I go along and using a lot of different tutorials and videos to learn how to write my own formulas, but I seem to be stuck on this one. So I have a single google sheet that contains all of my data that I need and been able to calculate what stats I want plus other additional information. One part of the stat sheet that I want to create is a dynamic graph that auto updates the player's average versus their specific team as this stat sheet is for multiple teams. I managed to figure out how to put a list of every single stat in a single column and having a formula for each team pull each team's min and max value on one tab. I have labeled the tops of each team's min and max value as "(Team Color) (Min/Max)" respectively.

My current formula to pull the values are as follows,=vlookup($B$5, 'Player Min/Max'!$A$2:$J, match(A6,'Player Min/Max'!C1:J1,0), False).

B5 is the reference cell holding the stat I want to look up

Player Min Max A2:J is the separate tab in my sheet workbook that holds all of the different team's minimum and maximum values

A6 formula: =B3& " Min" (B3 holding the currently selected team name to make sure it's dynamic per team on the player dashboard)

The range of C1:J1 on the Player Min/Max is the top headers that hold each team's color and min/max for each stat.

So far the formula is coming back with the name of the stat instead of the actual minimum value that is located under those conditions that I put in the formula. I've checked multiple times for spelling and that it is actually pulling the info from the right reference cells, but I can't seem to figure out what's wrong. Any help would be appreciated as to a more correct formula that would work, and also a small explanation as to what could be wrong would be even more appreciated as I would love to learn more about how to troubleshoot my own problems down the road.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>