Hi All,
I am trying to figure out a formula that will help me find the relative position of the largest date that is equal to or less than a provided selected date. In the attached you will see a list of projects that have column headers of stages 1 - 5 and a current stage. I am trying to get column H (the Current Stage column) to indicate which stage the project is in based on a selected date.
So far I tried the below formulas (Using Project 4 as example), but neither work for all the possible scenarios for dates.
=INDEX($C$2:$G$2,MATCH($J$3,C6:G6,1))
and
=INDEX($C$2:$G$2,MATCH(MAXIFS(C6:G6,C6:G6,"<="&$J$3),C6:G6,0))
The two issues I am running into is that:
1) dates may not be chronological with stage dates. So stage 1 may have a later date than stage 5 (like Project 3).
2) the same date might be used for multiple stages (Like Project 2 and Project 4).
The two issues make the formulas I came up with produce incorrect results. Does anybody have a suggestion on a formula that might work for all the projects listed?
Bookmarks