I have a file of Employee SSN, Last Name, First Name, Relationship. Relationship would be Employee, Spouse or Child.
SSN Last_Name First_Name Rel_Cd 123456789 LName Matthew Employee 123456789 LName Mary Spouse 123456789 LName Luke Child 123456789 LName James Child
For each Employee record, I need a count of Spouse and/or Child records related to that Employee SSN.
I would prefer to retain all records, and just have the count listed next to the Employee in a new column.