I am trying to write a cross sheet formula that evaluates dates based on a matching project ID on the source sheet and return a date value in the target sheet (where the formula is being written).
The formula should:
Look up dates in a column on another (source) sheet. Each row on this sheet has a unique ID.
Only evaluate those dates who share a unique ID as the ID on the target sheet
If you find a match and the date(s) is in the past relative to today, take the date from the past that is closest to today.
If the date(s) is in the future, take the date that is nearest to today but in the future.
If the date in question is today then show that date.
If you evaluate the of dates in the source and some dates are in the past and some dates are in the future, then, consider the column called "MS Complete". if the column "MS complete" is checked, then take the date in that row (be it in the future or the past). otherwise take the date that is the closest date to today but in the future.
I started (with your help) - to write a formula that brings in the next most recent date in the future……can this be used as a jumping off point to write the rest of the formula?
=MIN(COLLECT({OPS Project Milestone Tracker V2 Doc Signed}, {OPS Project Milestone Tracker V2 Doc Signed}, >=Today@row , {OPS Project Milestone Tracker V2 Requirement Name}, [Requirement Name]@row ))