In this formula:

=IF(AND(OR(AND(Search!$B$2="ALL",OR(Search!$M$3="",N3=Search!$M$3))),OR(AND(Search!$B$4="All",OR(Search!$M$5="",O3=Search!$M$5)),AND(B3=Search!$B$4,OR(Search!$M$5="",O3=Search!$M$5))),OR(Search!$B$6="ALL",G3=Search!$B$6),OR(Search!$B$7="ALL",H3=Search!$B$7),OR(Search!$B$8="ALL",I3=Search!$B$8),OR(Search!$B$9="",ISNUMBER(SEARCH(Search!$B$9,J3))),OR(IF(ISNUMBER(Search!$X$29),AND(C3>=TODAY()-Search!$X$29,C3<=TODAY()),AND(C3>=Search!$B$10,C3<=Search!$B$11)))),COUNT(K$2:K2)+1,"")

I need to remove referrences to: $M$3, N3, $M$5, and O3.

Here is a screen shot of the highlighted code:
Formula.PNG

When I try to do it I mess up the original coding.

Thanks for any help,
Nick