I am trying to write an excel formula that returns a specific value based on if a given [month & year] falls before, between, and after a date range.
In the above screenshot, I have the date range: Column M - Column O
.
In subsequent columns (Column P - Column AC
, etc.) is a given month & year
.
- If
Column P - Column AC
dates are less thanColumn M
it needs to returnNot Started
. - If
Column P - Column AC
dates fall between the dates inColumn M - Column O
, it needs to returnIn Progress
. - If
Column P - Column AC
dates fall after or equal to the dates inColumn O
, it needs to returnComplete
for all the following months.
What I am trying to do with this data is eventually make a historical trend chart that shows a count of each status by month & year
, but I need to assign these statuses to each month first before I can do this. Any guidance is appreciated.
IF
statement should work for your problem. - TotsieMaecolumn O
is blank? Complete or In Progress? - ian0411