Vookup? with several criteria?

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560
I need to pull the value ( name ) from Column "O" when the game matches another it's self.

Criteria 1 Same date is found
Criteria 2 Team in Column D is found in Coulumn C

In the case highlighted in RED
Q9 should have CHIWhiteSoxBuehrle
Q14 should have KCRoyalsHrnndz


Since I have 5000 games total I need a forumula to read the array's and
pull the data when the two criteria are true?

Any ideas?
mlb sched.xls
ABCDEFGHIJ
1DateSiteTEAMOPPONENTStarterOppStarterOPPPitchHandPitch
203/31/03AwayBOSRedSoxTAMDevilRaysMartinzKennedyTAMDevilRaysKennedyL
303/31/03AwayCHICubsNYMetsWoodGlavineNYMetsGlavineL
403/31/03AwayCHIWhiteSoxKCRoyalsBuehrleHrnndzKCRoyalsHrnndzR
503/31/03HomeCINRedsPITPiratesHaynesBensonPITPiratesBensonR
603/31/03HomeFLAMarlinsPHIPhilliesBeckettMilwoodPHIPhilliesMilwoodR
703/31/03HomeKCRoyalsCHIWhiteSoxHrnndzBuehrleCHIWhiteSoxBuehrleL
803/31/03AwayLADodgersARID'backsNomoRJhnsnARID'backsRJhnsnL
904/01/03AwayCOLRockiesHOUAstrosJennigsOswaltHOUAstrosOswaltR
1004/01/03HomeHOUAstrosCOLRockiesOswaltJennigsCOLRockiesJennigsR
1104/01/03AwayLADodgersARID'backsPerezSchilngARID'backsSchilngR
1204/01/03AwayNYYankeesTORBlueJaysPettiteLidleTORBlueJaysLidleR
1304/01/03HomeOAKAthleticsSEAMarinersHudsonGarciaSEAMarinersGarciaR
1404/01/03HomeSDGPadresSFGiantsEatonSchmidtSFGiantsSchmidtR
1504/01/03AwaySEAMarinersOAKAthleticsGarciaHudsonOAKAthleticsHudsonR
1604/01/03AwaySFGiantsSDGPadresSchmidtEatonSDGPadresEatonR
Sheet1
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Zack Barresse

MrExcel MVP
Joined
Dec 9, 2003
Messages
10,881
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
first of all your explanation does not match your posted example. where do you need to search for your criteria? and is the only criteria to have more than one match?
 

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Hi,

As I could not see column O I retrieved the data from column G instead...

Formula must be entered with Ctrl + Shift + Enter.
Book1
ABCDEFGHI
1DateSiteTEAMOPPONENTStarterOppStarterOPPPitchHand
203/31/03AwayBOSRedSoxTAMDevilRaysMartinzKennedyTAMDevilRaysKennedyL 
303/31/03AwayCHICubsNYMetsWoodGlavineNYMetsGlavineL 
403/31/03AwayCHIWhiteSoxKCRoyalsBuehrleHrnndzKCRoyalsHrnndzRCHIWhiteSoxBuehrle
503/31/03HomeCINRedsPITPiratesHaynesBensonPITPiratesBensonR 
603/31/03HomeFLAMarlinsPHIPhilliesBeckettMilwoodPHIPhilliesMilwoodR 
703/31/03HomeKCRoyalsCHIWhiteSoxHrnndzBuehrleCHIWhiteSoxBuehrleLKCRoyalsHrnndz
803/31/03AwayLADodgersARID'backsNomoRJhnsnARID'backsRJhnsnL 
92004-01-03AwayCOLRockiesHOUAstrosJennigsOswaltHOUAstrosOswaltRCOLRockiesJennigs
102004-01-03HomeHOUAstrosCOLRockiesOswaltJennigsCOLRockiesJennigsRHOUAstrosOswalt
112004-01-03AwayLADodgersARID'backsPerezSchilngARID'backsSchilngR 
122004-01-03AwayNYYankeesTORBlueJaysPettiteLidleTORBlueJaysLidleR 
132004-01-03HomeOAKAthleticsSEAMarinersHudsonGarciaSEAMarinersGarciaROAKAthleticsHudson
142004-01-03HomeSDGPadresSFGiantsEatonSchmidtSFGiantsSchmidtRSDGPadresEaton
152004-01-03AwaySEAMarinersOAKAthleticsGarciaHudsonOAKAthleticsHudsonRSEAMarinersGarcia
162004-01-03AwaySFGiantsSDGPadresSchmidtEatonSDGPadresEatonRSFGiantsSchmidt
Sheet2
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,097
Messages
5,768,071
Members
425,452
Latest member
htay44

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