SaraWitch
Active Member
- Joined
- Sep 29, 2015
- Messages
- 377
- Office Version
- 365
- Platform
- Windows
Hi peeps,
I am tying myself up in knots trying to calculate a target date based on a DDL selection in another cell. I've included the formulas I've tried to show what a pickle I'm getting in!
Any help would be greatly appreciated...
I am tying myself up in knots trying to calculate a target date based on a DDL selection in another cell. I've included the formulas I've tried to show what a pickle I'm getting in!
¦ MrExcel Queries.xlsm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Agreed Time Frame | Date given | Target complete date (working days minus bank holidays) | Should be | BH 2024/25 | |||||||
2 | A | 01/08/2024 | =IF(OR(A2="A",NETWORKDAYS($B2,5,BH2024_25),IF(A2="B",NETWORKDAYS($B2,10,BH2024_25),IF(A2="C",NETWORKDAYS($B2,10,BH2024_25),IF(A2="D",NETWORKDAYS($B2,100,BH2024_25,"")))))) | 08/08/2024 | 01/04/2024 | |||||||
3 | B | 02/08/2024 | =IF(OR(A3="A",NETWORKDAYS($B3+5-BH2024_25),IF(A3="B", NETWORKDAYS($B3+10-BH2024_25), IF(A3="C",NETWORKDAYS($B3+15-BH2024_25), IF(A3="D",NETWORKDAYS($B3+100-BH2024_25),""))))) | 16/08/2024 | 06/05/2024 | |||||||
4 | C | 07/08/2024 | =IF(OR(A2="A",NETWORKDAYS($B2,5,BH2024_25),A2="B",NETWORKDAYS($B2,10,BH2024_25),A2="C",NETWORKDAYS($B2,10,BH2024_25),A2="D",NETWORKDAYS($B2,100,BH2024_25),"")) | 28/08/2024 | 27/05/2024 | |||||||
5 | D | 13/08/2024 | 06/01/2025 | 26/08/2024 | ||||||||
6 | 25/12/2024 | |||||||||||
7 | A=Date given + 5 working days (minus bank holidays) | 26/12/2024 | ||||||||||
8 | B=Date given + 10 working days (minus bank holidays) | 01/01/2025 | ||||||||||
9 | C=Date given + 15 working days (minus bank holidays) | |||||||||||
10 | D=Date given + 100 working days (minus bank holidays) | |||||||||||
Target Date Based On DDL |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
A2:A5 | List | A,B,C,D |
Any help would be greatly appreciated...