Hello everyone,
I need help to create a variable that contains the maximum earning in the Microsoft® Excel® spreadsheet Column A labels. As an example, for label $2,500 to $4,999, the variable would include value 4,999. This is in addition to the variable that contains the associated population number.
I have to store that data in a raw data file, then sort the data from highest amount earned to lowest amount earned. Store that sorted data in a second raw data file. Perform another sort to order the data from highest population number to lowest population number. Store that sorted data in a third raw data file. I must keep the two related data variables associated so that after each sort the amount earned is associated with the population number or the number of people that earned that amount. I have attached the spreadsheet with the data mentioned above.
Using SAS 9.4 and Excel 2013