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>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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.
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top