This assumes data starts in cell A1 and should cope with any number of spouses/children.
Test in a copy of your workbook.
<font face=Courier New><br><SPAN style="color:#00007F">Sub</SPAN> Add_Data()<br> <SPAN style="color:#00007F">Dim</SPAN> rData <SPAN style="color:#00007F">As</SPAN> Range<br> <SPAN style="color:#00007F">Dim</SPAN> Data, Results<br> <SPAN style="color:#00007F">Dim</SPAN> L <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, R <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, C <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br> <br> Application.ScreenUpdating = <SPAN style="color:#00007F">False</SPAN><br> <SPAN style="color:#00007F">Set</SPAN> rData = Range("A1", Range("A" & Rows.Count).End(xlUp)).Resize(, 3)<br> <SPAN style="color:#00007F">With</SPAN> rData<br> Data = .Value<br> .Columns(3).Replace _<br> What:="DAUGHTER", Replacement:="CHILD", MatchCase:=<SPAN style="color:#00007F">False</SPAN><br> .Columns(3).Replace _<br> What:="SON", Replacement:="CHILD", MatchCase:=<SPAN style="color:#00007F">False</SPAN><br> Results = .Resize(, 4).Value<br> Results(1, 4) = "Output"<br> L = <SPAN style="color:#00007F">UBound</SPAN>(Data, 1)<br> <SPAN style="color:#00007F">For</SPAN> R = 2 <SPAN style="color:#00007F">To</SPAN> L<br> <SPAN style="color:#00007F">If</SPAN> Results(R, 1) = Results(R - 1, 1) <SPAN style="color:#00007F">Then</SPAN><br> <SPAN style="color:#00007F">If</SPAN> Results(R, 3) <> Results(R - 1, 3) <SPAN style="color:#00007F">Then</SPAN><br> C = 1<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br> Results(R, 4) = Results(R, 3) & " " & C<br> C = C + 1<br> <SPAN style="color:#00007F">Else</SPAN><br> Results(R, 4) = Results(R, 3)<br> C = 1<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br> <SPAN style="color:#00007F">Next</SPAN> R<br> .Resize(, 4).Value = Results<br> .Value = Data<br> .Offset(, .Columns.Count).Resize(, 1).EntireColumn.AutoFit<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br> Application.ScreenUpdating = <SPAN style="color:#00007F">True</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br><br><br><br></FONT>