Returns the parameter 2 data item if the boolean expression in parameter 1 is True. If the boolean expression is not True, it returns the parameter 3 data item.
See Conditional Expressions.
=ItemIf(%INDI.SEX% = "Male",%INDI.FAMS>WIFE%,%INDI.FAMS>HUSB%)