CordingBags
New Member
- Joined
- Mar 7, 2022
- Messages
- 43
- Office Version
- 2016
- Platform
- Windows
I am trying to count the number of times each team plays on which weekday.
My issue is the "input" cell displays the weekday from an adjacent cell.
Therefore the number is different every time.
How do I get COUNTIFS to just "read" the displayed Weekday.
Cell D2 is =IF(F2<1,"",WEEKDAY(F2))
Cell D5 is =IF(F5<1,"",WEEKDAY(F5))
Cell D11 is =IF(F11<1,"",WEEKDAY(F11))
This continues down to ROW 189
I need to count the number of times a team plays on for instance MONDAY,
The fixtures are held columns H - N, some leagues have an odd number of teams therefore not every team will play on a particular fixture day.
Any Help Appreciated
Thanks
Paul
My issue is the "input" cell displays the weekday from an adjacent cell.
Therefore the number is different every time.
How do I get COUNTIFS to just "read" the displayed Weekday.
Cell D2 is =IF(F2<1,"",WEEKDAY(F2))
Cell D5 is =IF(F5<1,"",WEEKDAY(F5))
Cell D11 is =IF(F11<1,"",WEEKDAY(F11))
This continues down to ROW 189
I need to count the number of times a team plays on for instance MONDAY,
The fixtures are held columns H - N, some leagues have an odd number of teams therefore not every team will play on a particular fixture day.
Any Help Appreciated
Thanks
Paul
League Booking 2024-25.xlsm | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
D | E | F | G | H | I | J | K | L | M | N | |||
1 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
2 | Wed | 18:30 | 02/10/2024 | L1 | L3 | L4 | L2 | ||||||
3 | 18:30 | L7 | L5 | L8 | L6 | ||||||||
4 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
5 | Tue | 18:30 | 15/10/2024 | L7 | L1 | L3 | L2 | ||||||
6 | 18:30 | L8 | L6 | L4 | L5 | ||||||||
7 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
8 | Thu | 18:30 | 24/10/2024 | L2 | L1 | L3 | L7 | ||||||
9 | 18:30 | L4 | L5 | L8 | L6 | ||||||||
10 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
11 | Mon | 18:30 | 28/10/2024 | L7 | L6 | L1 | L2 | ||||||
12 | 18:30 | L5 | L8 | L4 | L3 | ||||||||
13 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
14 | Fri | 18:30 | 08/11/2024 | L2 | L1 | L6 | L7 | ||||||
15 | 18:30 | L8 | L3 | L5 | L4 | ||||||||
16 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
17 | Wed | 18:30 | 13/11/2024 | L5 | L7 | L2 | L6 | ||||||
18 | 18:30 | L8 | L3 | L1 | L4 | ||||||||
19 | Day | Time | Date | R1 | R2 | R3 | R4 | R5 | R6 | R7 | |||
20 | Wed | 18:30 | 20/11/2024 | L7 | L5 | L6 | L1 | ||||||
21 | 18:30 | L2 | L4 | L3 | L8 | ||||||||
LADIES EVE |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2,D20,D17,D14,D11,D8,D5 | D2 | =IF(F2<1,"",WEEKDAY(F2)) |
E3,E21,E18,E15,E12,E9,E6 | E3 | =IF(E2="","",E2) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E20 | Expression | =AND(F20<>"", E20="" ) | text | YES |
F20 | Expression | =AND(E20<>"", F20="" ) | text | NO |
F20 | Expression | =IF(AND(F20=0, F17>$G$1490),TRUE,FALSE) | text | NO |
F20 | Expression | =F17<1 | text | NO |
F20 | Cell Value | <=F17 | text | NO |
E17 | Expression | =AND(F17<>"", E17="" ) | text | YES |
F17 | Expression | =AND(E17<>"", F17="" ) | text | NO |
F17 | Expression | =IF(AND(F17=0, F14>$G$1490),TRUE,FALSE) | text | NO |
F17 | Expression | =F14<1 | text | NO |
F17 | Cell Value | <=F14 | text | NO |
E14 | Expression | =AND(F14<>"", E14="" ) | text | YES |
F14 | Expression | =AND(E14<>"", F14="" ) | text | NO |
F14 | Expression | =IF(AND(F14=0, F11>$G$1490),TRUE,FALSE) | text | NO |
F14 | Expression | =F11<1 | text | NO |
F14 | Cell Value | <=F11 | text | NO |
E11 | Expression | =AND(F11<>"", E11="" ) | text | YES |
F11 | Expression | =AND(E11<>"", F11="" ) | text | NO |
F11 | Expression | =IF(AND(F11=0, F8>$G$1490),TRUE,FALSE) | text | NO |
F11 | Expression | =F8<1 | text | NO |
F11 | Cell Value | <=F8 | text | NO |
E8 | Expression | =AND(F8<>"", E8="" ) | text | YES |
F8 | Expression | =AND(E8<>"", F8="" ) | text | NO |
F8 | Expression | =IF(AND(F8=0, F5>$G$1490),TRUE,FALSE) | text | NO |
F8 | Expression | =F5<1 | text | NO |
F8 | Cell Value | <=F5 | text | NO |
E5 | Expression | =AND(F5<>"", E5="" ) | text | YES |
J17:K18,M17:N18,H17:H18 | Cell Value | duplicates | text | YES |
H14:J15,L14:N15 | Cell Value | duplicates | text | YES |
H11:I12,K11:N12 | Cell Value | duplicates | text | YES |
H6:N6 | Expression | =IF(AND(LEN(H5)>0,LEN(H6)=0),TRUE, FALSE) | text | NO |
H5:N5 | Expression | =IF(AND(LEN(H6)>0,LEN(H5)=0),TRUE, FALSE) | text | NO |
H5:N6 | Cell Value | duplicates | text | YES |
AK3:AQ3,K9,M9:N9,H12:I12,K12:N12,H15:J15,L15:N15,H18,J18:K18,M18:N18,H21:K21,M21,M24:N24,H24:K24,M30:N30,H30:J30,H33:L33,N33,H36:L36,N36,M39:N39,H39:K39,H42:I42,K42:N42,H45:I45,K45:N45,M48:N48,H48:K48,H51,J51:N51,H54,J54:N54,L57:N57,H57:J57,H60:L60,N60 | Expression | =IF(AND(LEN(H2)>0,LEN(H3)=0),TRUE, FALSE) | text | NO |
AK2:AQ2,K8,M8:N8,H11:I11,K11:N11,H14:J14,L14:N14,H17,J17:K17,M17:N17,H20:K20,M20,M23:N23,H23:K23,M29:N29,H29:J29,H32:L32,N32,H35:L35,N35,M38:N38,H38:K38,H41:I41,K41:N41,H44:I44,K44:N44,M47:N47,H47:K47,H50,J50:N50,H53,J53:N53,L56:N56,H56:J56,H59:L59,N59 | Expression | =IF(AND(LEN(H3)>0,LEN(H2)=0),TRUE, FALSE) | text | NO |
F2 | Expression | =AND(E2<>"", F2="" ) | text | NO |
F2 | Expression | =IF(AND(F2=0, F1048575>$G$1490),TRUE,FALSE) | text | NO |
F2 | Expression | =F1048575<1 | text | NO |
F2 | Cell Value | <=F1048575 | text | NO |
F5 | Expression | =AND(E5<>"", F5="" ) | text | NO |
F5 | Expression | =IF(AND(F5=0, F2>$G$1490),TRUE,FALSE) | text | NO |
F5 | Expression | =F2<1 | text | NO |
F5 | Cell Value | <=F2 | text | NO |
F21 | Expression | =NOT(ISBLANK(F21)) | text | YES |
F18 | Expression | =NOT(ISBLANK(F18)) | text | YES |
F15 | Expression | =NOT(ISBLANK(F15)) | text | YES |
F12 | Expression | =NOT(ISBLANK(F12)) | text | YES |
F9 | Expression | =NOT(ISBLANK(F9)) | text | YES |
F6 | Expression | =NOT(ISBLANK(F6)) | text | YES |
F3 | Expression | =NOT(ISBLANK(F3)) | text | YES |
E2 | Expression | =AND(F2<>"", E2="" ) | text | YES |
E21 | Expression | =E21<>E20 | text | YES |
E21 | Expression | =E20 | text | YES |
E18 | Expression | =E18<>E17 | text | YES |
E18 | Expression | =E17 | text | YES |
E15 | Expression | =E15<>E14 | text | YES |
E15 | Expression | =E14 | text | YES |
E12 | Expression | =E12<>E11 | text | YES |
E12 | Expression | =E11 | text | YES |
E9 | Expression | =E9<>E8 | text | YES |
E9 | Expression | =E8 | text | YES |
E6 | Expression | =E6<>E5 | text | YES |
E6 | Expression | =E5 | text | YES |
E3 | Expression | =E3<>E2 | text | YES |
E3 | Expression | =E2 | text | YES |
D20 | Cell Value | =1 | text | YES |
D20 | Cell Value | =7 | text | YES |
D17 | Cell Value | =1 | text | YES |
D17 | Cell Value | =7 | text | YES |
D14 | Cell Value | =1 | text | YES |
D14 | Cell Value | =7 | text | YES |
D11 | Cell Value | =1 | text | YES |
D11 | Cell Value | =7 | text | YES |
D8 | Cell Value | =1 | text | YES |
D8 | Cell Value | =7 | text | YES |
D5 | Cell Value | =1 | text | YES |
D5 | Cell Value | =7 | text | YES |
D21 | Expression | =NOT(ISBLANK(D21)) | text | YES |
D18 | Expression | =NOT(ISBLANK(D18)) | text | YES |
D15 | Expression | =NOT(ISBLANK(D15)) | text | YES |
D12 | Expression | =NOT(ISBLANK(D12)) | text | YES |
D9 | Expression | =NOT(ISBLANK(D9)) | text | YES |
D6 | Expression | =NOT(ISBLANK(D6)) | text | YES |
D3 | Expression | =NOT(ISBLANK(D3)) | text | YES |
D2 | Cell Value | =1 | text | YES |
D2 | Cell Value | =7 | text | YES |
M20:M21,H20:K21 | Cell Value | duplicates | text | YES |
K8:K9,M8:N9,H8:H9 | Cell Value | duplicates | text | YES |
K2:N3,H2:I3 | Cell Value | duplicates | text | YES |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
H5:N6 | List | =$Q$3:$Q$16 |
K8:K9 | List | =$Q$3:$Q$16 |
M8:N9 | List | =$Q$3:$Q$16 |
H11:I12 | List | =$Q$3:$Q$16 |
K11:N12 | List | =$Q$3:$Q$16 |
H14:J15 | List | =$Q$3:$Q$16 |
L14:N15 | List | =$Q$3:$Q$16 |
H17:H18 | List | =$Q$3:$Q$16 |
J17:K18 | List | =$Q$3:$Q$16 |
M17:N18 | List | =$Q$3:$Q$16 |
H20:K21 | List | =$Q$3:$Q$16 |
M20:M21 | List | =$Q$3:$Q$16 |
H8:H9 | List | =$Q$3:$Q$16 |
H2:I3 | List | =$Q$3:$Q$16 |
K2:N3 | List | =$Q$3:$Q$16 |
E1 | Time | between 00:01:00 and 23:59:00 |
F7:F8 | Date | between 01/01/2023 and 31/12/2100 |
F13:F14 | Date | between 01/01/2023 and 31/12/2100 |
F10:F11 | Date | between 01/01/2023 and 31/12/2100 |
F16:F17 | Date | between 01/01/2023 and 31/12/2100 |
F19:F20 | Date | between 01/01/2023 and 31/12/2100 |
E3 | List | =E2 |
E6 | List | =E5 |
E7 | Time | between 00:01:00 and 23:59:00 |
E9 | List | =E8 |
E10 | Time | between 00:01:00 and 23:59:00 |