Hi all
I am looking for a way to solve this.
What is going to be happening is that each quarter we will download this file and have to run a macro on it to clean up the data. One of the items we need to figure out is which age categories a certain program will fall into.
As you will be able to see in the file I uploaded, all the programs have 3 fields for the start and end ages of the participants. (AgeMin, AgeMinMonths, AgeMinWeeks) & (AgeMax, AgeMaxMonths, AgeMaxWeeks).
What I need to do is convert those into a value (which I can do) and then based on the range between the two values, this program may spread across multiple age categories.
The Age categories are as follows:
1. Infant & Toddler - 0 - 2.5
2. Preschool - 2.5 - 4.5
3. Child - 4.51 - 10.5
4. Preteen - 10.51 - 12.99
5. Youth - 13 - 18.99
6. Adult - 19 - 54.99
7. Older Adult - 55 - +
So a program on dance may have an age range that is across Preschool and Child, and I need both of those to be in a single cell with a ", " between the two.
I can do the concatenate, what I don't know how to do is have excel figure out which fields to choose for the concatenation based on the age range for the course (or at least a simple way to do this).
I totally appreciate the time and effort you may spend on this.
Thanks
I am looking for a way to solve this.
What is going to be happening is that each quarter we will download this file and have to run a macro on it to clean up the data. One of the items we need to figure out is which age categories a certain program will fall into.
As you will be able to see in the file I uploaded, all the programs have 3 fields for the start and end ages of the participants. (AgeMin, AgeMinMonths, AgeMinWeeks) & (AgeMax, AgeMaxMonths, AgeMaxWeeks).
What I need to do is convert those into a value (which I can do) and then based on the range between the two values, this program may spread across multiple age categories.
The Age categories are as follows:
1. Infant & Toddler - 0 - 2.5
2. Preschool - 2.5 - 4.5
3. Child - 4.51 - 10.5
4. Preteen - 10.51 - 12.99
5. Youth - 13 - 18.99
6. Adult - 19 - 54.99
7. Older Adult - 55 - +
So a program on dance may have an age range that is across Preschool and Child, and I need both of those to be in a single cell with a ", " between the two.
I can do the concatenate, what I don't know how to do is have excel figure out which fields to choose for the concatenation based on the age range for the course (or at least a simple way to do this).
I totally appreciate the time and effort you may spend on this.
Thanks