Could you please advise me how to make the correct formula?
When the date is changed according to the formula, the result does not change
Thank you
When the date is changed according to the formula, the result does not change
Thank you
Zošit2 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | ||||||||
2 | ||||||||
3 | ||||||||
4 | 22.12.2024 | |||||||
5 | ||||||||
6 | 28.02.2024 | |||||||
7 | ||||||||
8 | ||||||||
9 | ||||||||
10 | ||||||||
11 | ||||||||
Hárok1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D4 | D4 | =TODAY() |
D6 | D6 | =IF(D4>=DATE(2024,2,28),DATEVALUE("28.2.2024"),IF(D4>=DATE(2025,1,1),DATEVALUE("1.1.2025"),IF(D4>=DATE(2026,1,1),DATEVALUE("28.2.2026")))) |