locksmith55
New Member
- Joined
- Mar 6, 2022
- Messages
- 22
- Office Version
- 365
- Platform
- Windows
Hello,
I am here working with shipping data. The data shows shipping prices for different routes between China and Japan. The prices itself is not relevant for solving this problem so I have just replaced them all with 0. For certain dates, certain shipping rates will be valid. I have already made a function to determine which rates are valid based on today's date. I am then trying to make dynamic formulas that will populate N3:S3 with correct information associated with the valid routes today.
Would appreciate a solution that is not too complex. Use of helper columns is welcome. I have been trying to solve this problem for days now with little success. I appreciate any help I can get. I use MS365 office.
I am here working with shipping data. The data shows shipping prices for different routes between China and Japan. The prices itself is not relevant for solving this problem so I have just replaced them all with 0. For certain dates, certain shipping rates will be valid. I have already made a function to determine which rates are valid based on today's date. I am then trying to make dynamic formulas that will populate N3:S3 with correct information associated with the valid routes today.
Would appreciate a solution that is not too complex. Use of helper columns is welcome. I have been trying to solve this problem for days now with little success. I appreciate any help I can get. I use MS365 office.
Cell Formulas | ||
---|---|---|
Range | Formula | |
D1:D2,D6:J6,J1:J2,H1:H2,F1:F2 | D1 | =C1 |
L2 | L2 | =DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY())) |
N3:N7,N33:N37,N13:N17,N23:N27 | N3 | =$E$3 |
O3:O7,O33:O37,O13:O17,O23:O27 | O3 | =$F$3 |
P3:Q7 | P3 | =A6 |
N8:N12,N38:N42,N18:N22,N28:N32 | N8 | =$I$3 |
O8:O12,O38:O42,O18:O22,O28:O32 | O8 | =$J$3 |
P8:Q12 | P8 | =A6 |
R3:R7,R13:R17,R23:R27 | R3 | =$E$1 |
S3:S7,S13:S17,S23:S27 | S3 | =$E$2 |
R8:R12,R18:R22,R28:R32 | R8 | =$I$1 |
S8:S12,S18:S22,S28:S32 | S8 | =$I$2 |
Q13:Q22 | Q13 | =$B$13 |
Q23:Q32 | Q23 | =$B$14 |
C4,E4,G4,I4 | C4 | =IF(AND($L$2>=C3,$L$2<=D3),"VALID","NOT VALID") |
D4,F4,H4,J4 | D4 | =IF(AND($L$2>=C3,$L$2<=D3),"VALID","NOT VALID") |
C7:J10,C12:J15 | C7 | =C6 |
R33:S37,P33:P42 | P33 | =P3 |
Q33:Q37 | Q33 | =$B$15 |
Q38:Q42 | Q38 | =Q33 |
R38:R42 | R38 | =R18 |
S38:S42 | S38 | =S28 |