Most curious. First, there are parts of the formula that are useless/not
needed. For instance:
COUNTBLANK(AA150)<=1
Is only checking one cell. The cell will either be blank (1) or not (0).
either way, condition is true!
....AND(NOT(LEFT(G150,4)="FFZZ"),...
This is included in an OR function that already checks this. No need to
write it twice.
Finally, the "-60" is in the false arguement by itself, not really doing
anything. I'm *assuming* it's supposed to be part of the previous bit.
Simplfied and re-written
=IF(AND(COUNT(H150:J150,M150:Y150)=16,COUNTBLANK(K150:L150)<=1,OR(LEFT(G150,4)="FFZZ",COUNT(Z150)=1)),IF(LEFT(G150,4)="FFZZ",MIN(H150:J150,M150:Y150)-TODAY(),MIN(H150:J150,M150:Y150)-TODAY())-60)
In English:
If there are 16 numbers in first group of ranges, and
there is only at most 1 blank in K150:L150, and
one of the following is true:
(G150 contains "FEZZ" or
there is a number in Z150)
If TRUE:
Then, depending on if G150 contained FEZZ, either subtract today's date from
smallest value in range, or 60 days prior to today from smallest value in
range.
As long as this results in any value not equal to zero, conditional
formatting will be triggered.
If FALSE:
Return a "FALSE" value