I have data that looks like this:
ID Age
55687 18
55688 24
55689 26
55690 33
55691 36
55692 43
55693 46
55694 54
55695 57
55696 63
55697 65
55698 70
55699 76
55700 83
55701 85
55702 88
55703 89+
55704 89+
What I want to do is convert "Age" into the following age Brackets: 18-24, 25-34, 35-44, 45-54, 55-64, 65-74, 75-84, 85-89, 89+ and store into a third column ("Age Brackets") as follows:
ID Age Age Bracket
55687 18 18-24
55688 24 18-24
55689 26 25-34
55690 33 25-34
55691 36 35-44
55692 43 35-44
55693 46 45-54
55694 54 45-54
55695 57 55-64
55696 63 55-64
55697 65 65-74
55698 70 65-74
55699 76 75-84
55700 83 75-84
55701 85 85-89
55702 88 85-89
55703 89+ 89+
55704 89+ 89+