=SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Spouse")+($H$5:$H$1669="Self")+($H$5:$H$1669="Father")+($H$5:$H$1669="Mother")) & "A + " & SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Daughter")+($H$5:$H$1669="Son")) & "C"
There is woefully little information to go on; we can guess, wrongly of course:
E code.. is that one family?
A = Adult, C = Child?
Adult = Father, Mother, Spouse, Self(?)
Child = Daughter, Son, Self(?)
or is it based on Date of Birth, maybe Slab, perhaps Age, who the *&^%#! knows?
A wild and inaccurate guess (no countifs as currently only have Excel 2003 where I am):
Code:=SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Spouse")+($H$5:$H$1669="Self")+($H$5:$H$1669="Father")+($H$5:$H$1669="Mother")) & "A + " & SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Daughter")+($H$5:$H$1669="Son")) & "C"
There is woefully little information to go on; we can guess, wrongly of course:
E code.. is that one family?
A = Adult, C = Child?
Adult = Father, Mother, Spouse, Self(?)
Child = Daughter, Son, Self(?)
or is it based on Date of Birth, maybe Slab, perhaps Age, who the *&^%#! knows?
A wild and inaccurate guess (no countifs as currently only have Excel 2003 where I am):
Code:=SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Spouse")+($H$5:$H$1669="Self")+($H$5:$H$1669="Father")+($H$5:$H$1669="Mother")) & "A + " & SUMPRODUCT(--($B5=$B$5:$B$1669),($H$5:$H$1669="Daughter")+($H$5:$H$1669="Son")) & "C"