nested if or vlookup help

Emac

New Member
Joined
Oct 14, 2003
Messages
12
I am not too swift with database functions so I am trying to do this problem with nested if, match or vlookups.

For example, I am trying to create a NHL schedule for fantasy teams.

on the vertical column (A) I have teams...horizontally across row 1 I have dates and for my table I have teams and dates and opponents.

My goal is to either start with the date and then look up the teams that play on that date....run a match with the players team and then determine the opponent if any.

I just need a little help with nested statements...I will continue to use the search function here, but if anyone can give me a leg up, I would appreciate it.

Thanks!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi

Is this what you want?
NHL.xls
ABCDEFG
1Draw1/01/20062/02/20063/03/20064/04/20065/05/2006
2Team1ByeTeam5Team4Team3Team2
3Team2Team5Team3ByeTeam4Team1
4Team3Team4Team2Team5Team1Bye
5Team4Team3ByeTeam1Team2Team5
6Team5Team2Team1Team3ByeTeam4
7
8
9OpponentsWeek
10PlayerTeam1/01/20062/02/20063/03/20064/04/20065/05/2006
11AndyTeam3Team4Team2Team5Team1Bye
12BiffTeam5Team2Team1Team3ByeTeam4
13JoTeam1ByeTeam5Team4Team3Team2
Sheet1


Andrew
 
Upvote 0
You're welcome. FYI the formula in cell C11 is designed to be copied and pasted either down or across.
Cheers, Andrew
 
Upvote 0
You're welcome. FYI the formula in cell C11 is designed to be copied and pasted either down or across.
Cheers, Andrew

Why

INDEX(MATCH(C$10,$B$1:$F$1),1)

in

=VLOOKUP($B11,$A$2:$F$6,1+INDEX(MATCH(C$10,$B$1:$F$1),1)) ?
 
Upvote 0
Hi Aladin
My bad. That should be :
=VLOOKUP($B11,$A$2:$F$6,1+MATCH(C$10,$B$1:$F$1))
Andrew :oops:
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,047
Members
449,064
Latest member
scottdog129

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