I appreciate anyone looking at this post and offering help.
It's kind of hard to explain what I'm actually looking for but here it goes.
I have a spreadsheet that contains multiple named records, see below example,
HARPER
HARPER
MCKINLEY
HARPER
HARPER
HARPER
HARPER
HARPER
HARPER
HARPER
HARPER
HARPER
HARPER
LINCOLN
MCKINLEY
MCKINLEY
ADAMS
ADAMS
GRIFFITH
GRIFFITH
GRIFFITH
ADAMS
ADAMS
ADAMS
GARFIELD
GARFIELD
GARFIELD
GARFIELD
GARFIELD
GARFIELD
GARFIELD
GRIFFITH
I am trying to assign a sequential variable each time a new name appears(assuming we going from top to bottom). not neccessary a variable for each record, but for each unique different record.
in other words:
From the example above, there would be 6 unique variables, (a,b,c,d,e,f)
a=Harper
b=Mckinley
c=Lincoln
d=Adams
e=Griffith
f=Garfield
and then ultimately I would like to data sort by grouping the same occurances of names, but following the order that they first appear.
Thank you again, for looking at this post and trying to help.
Bookmarks