Need some advise on using Index/Match or Lookup

Frank3923

Board Regular
Joined
Jan 20, 2003
Messages
244
My Excel skills are a bit rusty. Looking for some assistance on using Index/Match or VLookup. I would like to get the corresponding number from Team No. A10 - A19 and match it to the teams listed in B3-7, and F3-7. Any consideration and help would be appreciated.
Thank you in advance.
FB-Test.xls
ABCDEFGH
1Team-NoTeamTeam-No
2AWAY TEAMASWeekHOME TEAMHSWeek
3Tennessee (3-9-0)313Indianapolis (12-0-0) 3513
4Green Bay (2-10-0)713Chicago (9-3-0) 1913
5Atlanta (7-5-0)613Carolina (9-3-0) 2413
6Cincinnati (9-3-0) 3813Pittsburgh (7-5-0)3113
7Tampa Bay (8-4-0) 1013New Orleans (3-9-0)313
8
9TEAM
102Atlanta
115Carolina
126Chicago
1312Green Bay
1414Indianapolis
1520New Orleans
1625Pittsburgh
1730Tampa Bay
1831Tennessee
1932Washington
Sheet1
 
Yogi - I did check the references, they seem to be correct, As you suggested, here is my work sheet.

Thank you in advance, for your help.
FB-Test.xls
ABCDEFGH
1Team-NoTeamTeam-No
2AWAY TEAMASWeekHOME TEAMHSWeek
3#N/ATennessee (3-9-0)313#N/AIndianapolis (12-0-0) 3513
4#N/AGreen Bay (2-10-0)713#N/AChicago (9-3-0) 1913
5#N/AAtlanta (7-5-0)613#N/ACarolina (9-3-0) 2413
6#N/ACincinnati (9-3-0) 3813#N/APittsburgh (7-5-0)3113
7#N/ATampa Bay (8-4-0) 1013#N/ANew Orleans (3-9-0)313
8
9TEAM
102Atlanta
115Carolina
126Chicago
1312Green Bay
1414Indianapolis
1520New Orleans
1625Pittsburgh
1730Tampa Bay
1831Tennessee
1932Washington
Sheet1
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
YOu are attempting to Match

Team Name (Record) with Team Name

The result is always Team Name (Record) <> Team Name

Where Yogi's example was Team Name = Team Name

You can change the formula to:

Code:
=INDEX($A$10:$A$19,MATCH(
Trim(Left(B3, FIND("(") -1)),$B$10:$B$19,0))

The key being this:
Trim(Left(B3, FIND("(",B3) -1))

Which will return the team name appearing left of the open parenthesis less any trailing spaces.

Untested, but should work.

Edit: I didn't see that Fairwinds had already posted this potential solution.
 
Upvote 0

Forum statistics

Threads
1,215,898
Messages
6,127,632
Members
449,391
Latest member
Kersh82

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