Steve 1962
Active Member
- Joined
- Jan 3, 2006
- Messages
- 379
- Office Version
- 365
- Platform
- Windows
Hi
I am getting errors in column H. Although the data are shown on this one worksheet, in reality the table (cells A1 to C32) will be located on a separate worksheet.
The objective is to identify whether the team being analysed in cell E2 is playing "HOME" or "AWAY".
Thanks
I am getting errors in column H. Although the data are shown on this one worksheet, in reality the table (cells A1 to C32) will be located on a separate worksheet.
The objective is to identify whether the team being analysed in cell E2 is playing "HOME" or "AWAY".
Thanks
Book1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Week | Team - Home | Team - Away | Team Analysed | Week | Team | Ground | ||||
2 | 1 | Sea Eagles | Rabbitohs | Broncos | 1 | Roosters | #VALUE! | Should read "HOME" | |||
3 | 1 | Roosters | Broncos | 2 | Rabbitohs | #VALUE! | Should read "AWAY" | ||||
4 | 1 | Knights | Raiders | 3 | Panthers | #VALUE! | Should read "HOME" | ||||
5 | 1 | Warriors | Sharks | 4 | Cowboys | #VALUE! | Should read "AWAY" | ||||
6 | 1 | Storm | Panthers | ||||||||
7 | 1 | Eels | Bulldogs | ||||||||
8 | 1 | Titans | Dragons | ||||||||
9 | 1 | Dolphins | Cowboys | ||||||||
10 | 2 | Broncos | Rabbitohs | ||||||||
11 | 2 | Sharks | Bulldogs | ||||||||
12 | 2 | Panthers | Eels | ||||||||
13 | 2 | Raiders | Tigers | ||||||||
14 | 2 | Cowboys | Knights | ||||||||
15 | 2 | Storm | Warriors | ||||||||
16 | 2 | Sea Eagles | Roosters | ||||||||
17 | 2 | Dolphins | Dragons | ||||||||
18 | 3 | Panthers | Broncos | ||||||||
19 | 3 | Warriors | Raiders | ||||||||
20 | 3 | Roosters | Rabbitohs | ||||||||
21 | 3 | Bulldogs | Titans | ||||||||
22 | 3 | Dragons | Cowboys | ||||||||
23 | 3 | Tigers | Sharks | ||||||||
24 | 3 | Eels | Sea Eagles | ||||||||
25 | 3 | Knights | Storm | ||||||||
26 | 4 | Roosters | Panthers | ||||||||
27 | 4 | Rabbitohs | Bulldogs | ||||||||
28 | 4 | Broncos | Cowboys | ||||||||
29 | 4 | Dragons | Sea Eagles | ||||||||
30 | 4 | Titans | Dolphins | ||||||||
31 | 4 | Warriors | Knights | ||||||||
32 | 4 | Sharks | Raiders | ||||||||
Sheet3 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
G2:G5 | G2 | =IFERROR(LOOKUP(2,1/($A$2:$A$32=$F2)/($C$2:$C$32=$E$2),$B$2:$B$32),LOOKUP(2,1/($A$2:$A$32=$F2)/($B$2:$B$32=$E$2),$C$2:$C$32)) |
H2:H5 | H2 | =CHOOSE(AGGREGATE(15,6,COLUMN($B$1:$C$1)/($B$2:$C$32=G2)/($A$2:$A$32=F2)-3,1),"Home","Away") |