I need some help figuring out a set of formulas to display some dates. In the example below, Column B works since the Work Date is 11/128/2023. Column E does not work since the date is 1/11/2024. I need the dates in column H.
These dates are annual review dates and when in 2023, the dates all work since all is more than 2 months out from the Work Date of 11/18/2023. The dates in Column E do not work because some are less than 2 months out from the work date and some are more than 2 months out from the Work Date of 1/11/2024.
Since the Work Date is 1/11/2024 and 2 months is 3/11/2024, the 60 day value of 3/1/2025 is good, but the 90, 120, 150 & 180 dates are more than 2 months from the Work Date and I need to have the 2024 values vs the 2025 values. Column H is what I would like the formulas to produce.
Basically, I need the formulas to look at the 2 months from Work Date and if they are less, return the next years values and if they are greater, display the current year values.
Thank you for your help!
These dates are annual review dates and when in 2023, the dates all work since all is more than 2 months out from the Work Date of 11/18/2023. The dates in Column E do not work because some are less than 2 months out from the work date and some are more than 2 months out from the Work Date of 1/11/2024.
Since the Work Date is 1/11/2024 and 2 months is 3/11/2024, the 60 day value of 3/1/2025 is good, but the 90, 120, 150 & 180 dates are more than 2 months from the Work Date and I need to have the 2024 values vs the 2025 values. Column H is what I would like the formulas to produce.
Basically, I need the formulas to look at the 2 months from Work Date and if they are less, return the next years values and if they are greater, display the current year values.
Sample Date.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Good | Bad | What I need | |||||||
2 | Work Date | 11/18/2023 | Work Date | 1/11/2024 | Work Date | 1/11/2024 | ||||
3 | Next Year | 1/1/2024 | Next Year | 1/1/2025 | Next Year | 1/1/2025 | ||||
4 | 60 Days from YE | 3/1/2024 | 60 Days from YE | 3/1/2025 | 60 Days from YE | 3/1/2025 | ||||
5 | 90 Days from YE | 4/1/2024 | 90 Days from YE | 4/1/2025 | 90 Days from YE | 4/1/2024 | ||||
6 | 120 Days from YE | 5/1/2024 | 120 Days from YE | 5/1/2025 | 120 Days from YE | 5/1/2024 | ||||
7 | 150 Days from YE | 6/1/2024 | 150 Days from YE | 6/1/2025 | 150 Days from YE | 6/1/2024 | ||||
8 | 180 Days from YE | 7/1/2024 | 180 Days from YE | 7/1/2025 | 180 Days from YE | 7/1/2024 | ||||
9 | ||||||||||
10 | ||||||||||
11 | Workdate + 2 months | 3/11/2024 | ||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H3,E3,B3 | H3 | =DATE(YEAR(H2),12,31)+1 |
H4,E4,B4 | H4 | =DATE(YEAR(H3),MONTH(H3)+2,DAY(1)) |
B5,E5 | B5 | =DATE(YEAR(B3),MONTH(B3)+3,DAY(1)) |
B6,E6 | B6 | =DATE(YEAR(B3),MONTH(B3)+4,DAY(1)) |
B7,E7 | B7 | =DATE(YEAR(B3),MONTH(B3)+5,DAY(1)) |
B8,E8 | B8 | =DATE(YEAR(B3),MONTH(B3)+6,DAY(1)) |
E11 | E11 | =DATE(YEAR($E$2),MONTH($E$2)+2,DAY($E$2)) |
Thank you for your help!