I have a series of ages (for a local running race) and I want to figure out the age group each athlete would participate in.
For example a participant with an age of 23 would be in age group 20-24 and an athlete 27 years old would participate in the 25-29 age group. (5 year age groups)
I came up with this formula but I'm sure there's an easlier way:
=IF(AND(E2>15,E2<20),"16-19",IF(AND(E2>19,E2<25),"20-24",IF(AND(E2>24,E2<30),"25-29",IF(AND(E2>29,E2<35),"30-34",IF(AND(E2>34,E2<40),"35-39",IF(AND(E2>39,E2<45),"40-44",IF(AND(E2>44,E2<50),"45-49",IF(AND(E2>49,E2<55),"50-54",IF(AND(E2>29,E2<35),"55-59",IF(AND(E2>29,E2<35),"60-64",
Thank you for your help,
Colin
For example a participant with an age of 23 would be in age group 20-24 and an athlete 27 years old would participate in the 25-29 age group. (5 year age groups)
I came up with this formula but I'm sure there's an easlier way:
=IF(AND(E2>15,E2<20),"16-19",IF(AND(E2>19,E2<25),"20-24",IF(AND(E2>24,E2<30),"25-29",IF(AND(E2>29,E2<35),"30-34",IF(AND(E2>34,E2<40),"35-39",IF(AND(E2>39,E2<45),"40-44",IF(AND(E2>44,E2<50),"45-49",IF(AND(E2>49,E2<55),"50-54",IF(AND(E2>29,E2<35),"55-59",IF(AND(E2>29,E2<35),"60-64",
Thank you for your help,
Colin