Goal: Standardize a column of "Age" data (i.e. into years old / months old) using SPSS / SPSS Syntax.

Examples of Cell contents (1 cell is denoted by contents in parentheses):

"7" (assume this is years)

"4 months"

"5 yr"

"13 mo"

"1.5 yr"

"1 yr 3 mo"

"5/21/2014" (this is date of birth)

"12 days"

"22y"

"1y3m"

"6 y/o"

"1 year 7 months"

More Collin Rozanski's questions See All
Similar questions and discussions