Moving Data into one Row Based on ID and First Mention

michaelhodges1

New Member
Joined
Feb 26, 2018
Messages
2
With the below spreadsheet, I am attempting to have one row per unique identifier. You can see in the 8 empty columns to the right, I need to show if and when each person first attended each of the 4 steps as shown in the Attribute column. However, since some people may have attended one of the steps multiple times, I need to show when they first attended each step.

Individual IDLast NameFirst RecordPostal CodeAttribute GroupAttributeStart DateStep 1DateStep 2Date2Step 3Date3Step 4Date4
34376725Aaron10/21/201035205Grants Mill Growth Track_4 Dream Team (Attendance)09/22/2013
34376725Aaron10/21/201035205Grants Mill Growth Track_4 Dream Team (Attendance)10/24/2010
34376725Aaron10/21/201035205Grants Mill Growth Track_1 Membership (Attendance)03/06/2011
34376725Aaron10/21/201035205Grants Mill Growth TrackzOLDStep 1 - Follow (Attendance)08/14/2011
34376725Aaron10/21/201035205Grants Mill Growth Track_4 Dream Team (Attendance)08/26/2012
34376725Aaron10/21/201035205Grants Mill Growth Track_4 Dream Team (Attendance)07/22/2012
34376725Aaron10/21/201035205Grants Mill Growth Track_2 Discovery (Attendance)10/17/2010
24148658Aaron3/16/200936109Montgomery Growth Track_1 Membership (Attendance)04/02/2017
24148658Aaron3/16/200936109Montgomery Growth Track_1 Membership (Attendance)08/04/2013
24148658Aaron3/16/200936109Montgomery Growth TrackzOLDStep 1 - Follow (Attendance)10/04/2015
24148658Aaron3/16/200936109Montgomery Growth Track_2 Discovery (Attendance)05/16/2010
24148658Aaron3/16/200936109Montgomery Growth Track_4 Dream Team (Attendance)08/01/2010
24148658Aaron3/16/200936109Montgomery Growth Track_1 Membership (Attendance)05/02/2010
24148658Aaron3/16/200936109Montgomery Growth TrackzOLDStep 1 - Follow (Attendance)09/12/2010
24148658Aaron3/16/200936109Montgomery Growth Track_3 Leadership (Attendance)04/23/2017
24148658Aaron3/16/200936109Montgomery Growth Track_2 Discovery (Attendance)06/21/2015
81005114Aaron6/7/201635473Tuscaloosa Growth TrackzOLDStep 1 - Follow (Attendance)06/05/2016
81005114Aaron6/7/201635473Tuscaloosa Growth Track_1 Membership (Attendance)07/10/2016
81005114Aaron6/7/201635473Tuscaloosa Growth Track_2 Discovery (Attendance)08/21/2016
81005114Aaron6/7/201635473Tuscaloosa Growth Track_4 Dream Team (Attendance)08/28/2016
23605006Aaron2/23/200936064Montgomery Growth Track_1 Membership (Attendance)04/02/2017
23605006Aaron2/23/200936064Montgomery Growth Track_2 Discovery (Attendance)05/14/2017
23605006Aaron2/23/200936064Montgomery Growth Track_3 Leadership (Attendance)08/20/2017
23605006Aaron2/23/200936064Montgomery Growth Track_4 Dream Team (Attendance)08/27/2017
84010169Aaron1/24/201735501Tuscaloosa Growth Track_3 Leadership (Attendance)01/01/2001
84010169Aaron1/24/201735501Tuscaloosa Growth Track_2 Discovery (Attendance)01/01/2001
89377362Aaron2/19/201835904Gadsden Growth Track_3 Leadership (Attendance)11/19/2017
89377362Aaron2/19/201835904Gadsden Growth Track_2 Discovery (Attendance)02/11/2018
79987256Aaron4/25/201635243Grandview Growth Track_3 Leadership (Attendance)01/01/2001

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

pmich

Active Member
Joined
Jun 25, 2013
Messages
272
Experts in this forum may understand what you are saying. But I need some clarification.


1. You say 'per unique identifier'. You also say 'some people'. Are you saying that each individual has to be identified by the Individual ID?
2. You say 'each person'. In the expected result you want only one row for each individual. But, in the 8 empty columns, no column is allotted for entering names or ID. Then how will you know which row in the result refers to which person? Do you want the result to be mentioned in the first row of each individual or in the 1st Step of each person or do you prefer to allot a column for ID?
3. You say 'STEPS'. Do you mean that the numbers mentioned in the attribute column are STEPS?
4. Should the zOLDStep be ignored?


It will be good if you post an example to show how the results will be after running the VB Code, which we are going to come up with.
 

Watch MrExcel Video

Forum statistics

Threads
1,090,461
Messages
5,414,658
Members
403,541
Latest member
J0hnJ

This Week's Hot Topics

Top