Hi,
For a set product I have a criteria section in cells D2 to ABC2, these are COMPLETE, UNDER TEST, NOT STARTED/SAMPLED. In Cells D5 to ABC5 I have estimated completion dates. I want to determine the next date that a sample categorised as "UNDER TEST" will be completed.
I have tried the below formulas which don't return the correct answer.
=MIN(IF(D2:ABC2="*UNDER TEST*", ABS(D5:ABC5-TODAY()), ""))
=INDEX(D5:Z5,MATCH(MIN(IF(D2:ABC2="UNDER TEST",IF(ISNUMBER(DATEVALUE(D5:ABC5)),ABS(DATEVALUE(D5:ABC5)-TODAY())))),IF(D2:ABC2="UNDER TEST",IF(ISNUMBER(DATEVALUE(D5:ABC5)),ABS(DATEVALUE(D5:ABC5)-TODAY()))),0))
=XLOOKUP("UNDER TEST",D2:ABC2,IF(ISNUMBER(DATEVALUE(D5:ABC5)), ABS(DATEVALUE(D5:ABC5)-TODAY()), ""),"INCORRECT",1,2)
Any help would be greatly appreciated
Bookmarks