Antoinelhm
New Member
- Joined
- Nov 12, 2018
- Messages
- 5
Hello all,
First time poster,
I have a list of people that have different date of birth. I made a " template " page and a vba module to automaticly create a sheet based on the template for each person in the list. Now in the template page i need to figure out how to create 2 dynamic colomns based on the date of birth of the person that tracks years and age.
So let's say someone is born in 1990 then i need
Dob : 1990/01/01
row 1 col a 1991 col b 1 years old
r2 col a 1992 col b 2 years old
r 29 col a 2018 col b 28 years.
I have to also have a way to make it future proof so that it stops at the current year +1 so that the last row as of 2018 is 2019 and in 2019 it's 2020 etc...
I can do an index match to get the date of birth from the " master " sheet but after that i need the range to vary based on the age of the person and the years. On the template page is not a problem if i get n/a but i need to have the rows created based on the info
I hope i was clear enough.
Thanks in advance for all the help !
-A
First time poster,
I have a list of people that have different date of birth. I made a " template " page and a vba module to automaticly create a sheet based on the template for each person in the list. Now in the template page i need to figure out how to create 2 dynamic colomns based on the date of birth of the person that tracks years and age.
So let's say someone is born in 1990 then i need
Dob : 1990/01/01
row 1 col a 1991 col b 1 years old
r2 col a 1992 col b 2 years old
r 29 col a 2018 col b 28 years.
I have to also have a way to make it future proof so that it stops at the current year +1 so that the last row as of 2018 is 2019 and in 2019 it's 2020 etc...
I can do an index match to get the date of birth from the " master " sheet but after that i need the range to vary based on the age of the person and the years. On the template page is not a problem if i get n/a but i need to have the rows created based on the info
I hope i was clear enough.
Thanks in advance for all the help !
-A