LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 26 Nov 2007 22:05:08 -0500
Reply-To:     Randy <randistan69@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Randy <randistan69@HOTMAIL.COM>
Subject:      Numbering Sub groups

Dear All:

Here is my data set:

ID VarA 1 A 1 A 1 B 1 A 1 A 2 A 2 B 2 A and so on.

I want to create and number the subgroups of VarA by the ID number. So my data set should look like this: ID VarA Group_N 1 A 1 1 A 2 1 B 1 1 A 3 1 A 4 2 A 1 2 B 1 2 A 2

Please help. Randy


Back to: Top of message | Previous page | Main SAS-L page