Hello,
I am trying to work through the logic of how to do this in Excel. I have a spreadsheet with about 20,000 rows in it. It's full of information about people's visits and the referrals from that visit. There are three main id columns the person_id, form_id(visit's indicated by form_id so one form_id per visit), nomenclature_id(referral issue).
So someone with only one visit will have only one form_id associated to there person_id but they may have more than one row to having multiple referrals(nomenclature_ids). These I want removed or do not need.
In the example data provided the first person_id 1171850 has only one visit.
Someone with more than one visit will have more than one form_id associated with there person_id. If that is the case I want all rows associated to there person_id on a seperate sheet or book.
In the example data provided the last person_id in the data is 1171877 and they have 2 visits.
So I am trying to figure out the logic and what functions can help me make it work. Any help or guidance is appreciated.
Thanks,
Shaun
I am trying to work through the logic of how to do this in Excel. I have a spreadsheet with about 20,000 rows in it. It's full of information about people's visits and the referrals from that visit. There are three main id columns the person_id, form_id(visit's indicated by form_id so one form_id per visit), nomenclature_id(referral issue).
So someone with only one visit will have only one form_id associated to there person_id but they may have more than one row to having multiple referrals(nomenclature_ids). These I want removed or do not need.
In the example data provided the first person_id 1171850 has only one visit.
Someone with more than one visit will have more than one form_id associated with there person_id. If that is the case I want all rows associated to there person_id on a seperate sheet or book.
In the example data provided the last person_id in the data is 1171877 and they have 2 visits.
So I am trying to figure out the logic and what functions can help me make it work. Any help or guidance is appreciated.
Thanks,
Shaun