AYouQueTai
Board Regular
- Joined
- Sep 14, 2019
- Messages
- 50
- Office Version
- 365
- Platform
- Windows
Hello,
The following formula (In G2) is giving me a result of "0" when it should display the player's first name.
The reason for the indirect reference is every team will have their own sheet like Buffalo.
=SUMPRODUCT((INDIRECT($D2&"[Start Date]")>=[@Date])*(INDIRECT($D2&"[End Date]")<=[@Date])*(INDIRECT($D2&"[Jersey]")=[@Jersey]),(INDIRECT($D2&"[First Name]")))
Can anyone tell me what I'm doing wrong?
The following formula (In G2) is giving me a result of "0" when it should display the player's first name.
The reason for the indirect reference is every team will have their own sheet like Buffalo.
=SUMPRODUCT((INDIRECT($D2&"[Start Date]")>=[@Date])*(INDIRECT($D2&"[End Date]")<=[@Date])*(INDIRECT($D2&"[Jersey]")=[@Jersey]),(INDIRECT($D2&"[First Name]")))
Can anyone tell me what I'm doing wrong?
NHL 2024-2025.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | GameId | Date | Home/Away | Team | Jersey | Pos | First Name | Last Name | Full Name | ||
2 | 020001 | Oct-04 | Home | Buffalo | 02 | 0 | |||||
Roster |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | B2 | =IF([@GameId]="","",VLOOKUP([@GameId],Schedule,3,FALSE)) |
D2 | D2 | =IF($A2="","",IF($C2="Away",VLOOKUP([@GameId],Schedule,5,FALSE),VLOOKUP([@GameId],Schedule,6,FALSE))) |
G2 | G2 | =SUMPRODUCT((INDIRECT($D2&"[Start Date]")>=[@Date])*(INDIRECT($D2&"[End Date]")<=[@Date])*(INDIRECT($D2&"[Jersey]")=[@Jersey]),(INDIRECT($D2&"[First Name]"))) |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
C2:C1048576 | List | =INDIRECT("HomeAway") |
NHL 2024-2025.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Jersey | Start Date | End Date | Pos | First Name | Last Name | Full Name | ||
2 | 02 | Oct-03-2024 | Oct-04-2025 | Test | |||||
3 | 05 | Oct-03-2024 | Oct-04-2025 | Test 5 | |||||
Buffalo |