I have 3 data sets (eg Scores from three different Universities) all mixed up in a single excel sheet and with different number of scores. Eg Oxford sample with 4000 scores, Cambridge with 3200 scores, and Portsmouth with 1800 scores and I want to extract and trim them so that the sample sizes match the university with the lowest number of scores (in this case 1800), what would the macros look like? Please note the spreadsheet has 2 columns i.e. University and Score. If someone can also answer the same question for SPSS I will also be grateful.