Hi
I am trying to use a function with if plus and \ or ? Is this possible?

The best I have achieved so far is this, which does not work :--

=IF(OR(AND(F5="4P",F5="NHFR"),AND(G5>=2,H5>=6)),AB5,"")

So I want to select only if cell F5 is either 4P or NHFR, plus also only if
cell G5 is also >=2 and cell H5 is >=6.
If pass, contents of AB5 will be added, otherwise blank.

Any help would be most welcome.