Hi Experts.
I'm having trouble getting DATE. DIFFERENCE formulas, with the IF, AND, OR functions to work correctly in this case.
Based on a table in a tab, with a fixed period of 12 months, only the year varies. I have given each cell the names in the yellow columns:
Period.png
And then I have two colons that contain different dates:
Dates.png
Based on these different dates, I would like the following columns to be calculated, according to the selected period/year:
- Total number of days.
- Number of total years (nearest).
- Days BEFORE, the selected Period/Year.
- Days IN the selected Period/Year.
- Days AFTER the selected Period/Year.
Control and difference are the easy part.
Result.png
I hope that someone in this good expert forum can help me, and therefore I say, thank you very much in advance.
Bookmarks