Hi
I'm trying to write a formula which will bring back the maximum date if a number of multiple conditions are met, but including an OR function.
=MAX(IF(AllInspections!$A$2:$A$2000=LatestFullInspection!$B2,IF(OR(AllInspections!$D$2:$D$2000=Sheet1!$C$2,AllInspections!$D$2:$D$2000=Sheet1!$C$3,AllInspections!$D$2:$D$2000=Sheet1!$C$4,AllInspections!$D$2:$D$2000=Sheet1!$C$5),AllInspections!$C$2:$C$2000)))
The first $B2 match is working but the match in the OR function is not, it is bringing back the max date overall and not taking into account the OR criteria
Any ideas?
Bookmarks