I am using Stata 13.1. After importing a data set with more than 50 variables from Excel I realized that there are duplicated variable labels. Stata gave variable names during importing from Excel and changed the duplicated names. However, for some reason I want to find duplicated variable labels and rename these labels as Label1 & Label2 for example.
Could anybody help me to find and list duplicated variable labels?