I need to figure out a formula or pivot table show me if the Open test date is the most recent date in a table. So this is for a table of test types, each having multiple occurences on the report. I need to determine if the Open test was ordered more recently than the tests done. I've set up the 3 scenarios here. The ABC test has the open one with the most recent date. The LMN one the open date is between two closed ones. The QRS one has both the closed ones with more recent dates than the open one. XYZ has two open orders, neither are the most recent. Testing Example.xlsx
Test Date Done NEED
ABC 8/1/2024 Open Most Recent
ABC 7/1/2024 Closed
ABC 6/1/2024 Closed
LMN 2/2/2024 Closed
LMN 3/2/2024 Open No
LMN 4/2/2024 Closed
QRS 9/3/2024 Closed
QRS 7/3/2024 Closed
QRS 5/3/2024 Open No
XYZ 1/4/2021 Open No
XYZ 5/3/2021 Closed
XYZ 7/7/2021 Open No
XYZ 9/12/2021 Closed
Bookmarks