Originally Posted by
ChemistB
In N8 copied down
=IFERROR(IF(AND(Test!$C$6>= INDEX(Deals!$E$2:$E$1000, MATCH(Test!$C$1, Deals!$G$2:$G$1000,0)), Test!$C$6<= INDEX(Deals!$F$2:$F$1000, MATCH(Test!$C$1, Deals!$G$2:$G$1000,0))), "Valid", "Not Valid"), "")
Assumptions:
1. All of your formatting on Deals and Test are the same. They are not. I converted Deals!Column G to Text to match Test!C1 and Changed Test!C6 from text to Date to match columns E and F on Deals!
2. You only have 1 deal per "shipped to" on the Deals sheet. Is this true? If not, will you have multiple deals with the same Material or one per material? What critieria would you use to determine Valid vs Invalid?
Bookmarks