Link to home
Start Free TrialLog in
Avatar of hantran99
hantran99

asked on

Adding a column of cumulative counts in SAS for subgroups within a larger list

Hi anyone,

Just wondering if anyone has SAS code to add a column of cumulative counts

Example of what I am after.
Cust Count  Cum Count
Peter 1  1
Peter 4 5
Peter 5 10
Peter 6 16
Peter 7 23
Janet 1 1
Janet 3 4
Janet 4 7
Mary 2 2
Mary 5 7
ASKER CERTIFIED SOLUTION
Avatar of Aloysius Low
Aloysius Low
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial