anyone can help me how to make coding like below.
IF husband(L3) does not have a son (L1)
AND do not have a daughter (P1)
AND do not have the grandson of the son (L4)
AND do not have a granddaughter from son (P4)
THEN breakdown for men is 1 / 2