AA:=(COUNT(A AND B,N)>=1;XG:REF(AA,1) AND B; (这样你试试)
aa:=条件A成立;bb:=条件B成立;count(aa,N)>0 and count(bb,N)>1;