Because when I try to use proc summary for this.........An error pops up........stating ERROR: Variable EMAIL_ID in list does not match type prescribed for this list. I know this could be done using proc freq but I have to use proc summary cuz I have some omre functions to apply on the dataset I am working on.