Suppose you have categories that repeat in C1 with their corresponding numeric values in C2. You can summarize each category and list them one time without manually deleting each additional entry.
The list of categories and their corresponding numbers will be stored in the next available columns in the active Worksheet.