Table Lookup

quibilty

New Member
Joined
Oct 8, 2019
Messages
1
I'm trying to create a look-up formula that fills in cell values in accordance with corresponding variables from different tabs.

For example:

In the tab "Match-Up", cell "J3", I'd like the formula to display the number of games "Auburn" has played (according to the data found in tab "Auburn") in which their opponent met the criteria of the following variables:

1) Played a game against an opponent from the SEC conference ("Conf"). The twelve "Conf" variables are listed in the "Match-Up" tab.
2) Played a game with 7 ("Days Between Games").
3) Played a game versus a "Ranked Opp" (a number greater than "0").
4) Played a game during the day (10am to 6:59pm = Day, 7pm or later = Night) ("Time").
5) Played a game on a Sat ("Day").
6) Did not play a ("Back-to-Back Road Game").
7) Played a game on the road (column "G", road game indicated by "@", home game indicated by nothing "", and a neutral game indicated by "N").

Basically, I'd like to be able to change the variables in B3:H3 and B4:H4 and have the corresponding data of J3:BF3 and J4:BF4 (from the appropriate tab) be displayed in the "Match-Up" tab.

NOTE: For columns J to L, I'd like those values to be sums, but for columns M to BF I'd like those values to be averages.

In the three examples the variables in "Match-Up" tab are highlighted in yellow, the data that meets the criteria indicated in the yellow cells that would be pulled from the look-up formula are highlighted in blue (in "Auburn" and "Florida" tabs). I've included what the results would look like for the chosen variables (yellow tabs).

Is this possible? Thank you.

https://docs.google.com/spreadsheets/d/10Ag28MODgDep7Iw4SJrYi1kBhq9uwaSjxk4-vCoZ9nU/edit?usp=sharing
https://docs.google.com/spreadsheets/d/14ioptQkoajtOZMl8fN1a-LXmRH8Gy8T5x62UzTeaHic/edit?usp=sharing
https://docs.google.com/spreadsheets/d/1GRiuzIStyUjEKGWun5f_-pwl-f-BfWSKDTIAN-_iL8U/edit?usp=sharing
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,214,614
Messages
6,120,530
Members
448,969
Latest member
mirek8991

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
Back
Top