I had assumed that if you select ALL, then you would not enter a Shopper EID or similarly, a TM EID or you would want to ignore them if entered.....
revise formula to:
=IF(AND(OR(AND(Search!$B$2="ALL",OR(Search!$B$3="",C3=Search!$B$3)),AND(A3=Search!$B$2,OR(Search!$B$3="",C3=Search!$B$3))),OR(AND(Search!$B$4="All",OR(Search!$B$5="",F3=Search!$B$5)),AND(D3=Search!$B$4,OR(Search!$B$5="",F3=Search!$B$5))),OR(Search!$B$6="ALL",J3=Search!$B$6),OR(Search!$B$7="ALL",K3=Search!$B$7),OR(Search!$B$8="ALL",L3=Search!$B$8),OR(Search!$B$9="",ISNUMBER(SEARCH(Search!$B$9,N3))),OR(AND(Search!$B$10="",M3>=Search!$B$11,M3<=Search!$B$12),AND(ISNUMBER(Search!$B$10),M3>=TODAY()-Search!$B$10,M3<=TODAY()))),COUNT(O$2:O2)+1,"")
Bookmarks