So I have ~130k rows with names of kids, mostly 2 rows per kid (about 65k kids) with same info in each 2 rows however one has the father's name and the other mother's name. I want to have only one row per kid with one colum with mother's name and other column with father's name. However not all rows are in the same order father-mother sequence, some of them hare mother-father and other are single mom or single dad.
I have been traying several ifs/ands formulas but cannot discriminate either the order nor if is a single mom as the sequence of rows (in pairs) which do not apply when finding a kid with single mom/dad.
Driving me nuts. Hope someone can help.
Many thanks in advance.
P.S. Excuse my English as its a 2nd tounge.
=IF(AND(E2=E3,G2="DAD",G3="Mom"),H2,H3).
names.png
Bookmarks