
This is my data. I want to have the variables TOTAL with the correspondant values as well as the variable Y25-74 with the correspondant values instead of the variable values where both factor levels are mixed. Thank you very much in advance!

This is my data. I want to have the variables TOTAL with the correspondant values as well as the variable Y25-74 with the correspondant values instead of the variable values where both factor levels are mixed. Thank you very much in advance!