Formula to find the age  New Contributor

Formula to find the age

Hello,

Is there any formula that can be used to calculate the age if we have the date of birth?

Thanks

3 ACCEPTED SOLUTIONS

Accepted Solutions   Certified Master Anaplanner

Re: Formula to find the age

Hi @algrigore!

You can make formula "(Today Date - Birthday)/365"   Super Contributor

Re: Formula to find the age

hi @algrigore ,

You will need one more line item to hold current date and the third line item which will be number formatted and formula which will be "(Current date - Date of birth)/365 "which will give you age in years.

Thanks

Abhay   Certified Master Anaplanner

Re: Formula to find the age

Yes, there is currently no formula that returns the current day. The community has an idea about this, you can support it.
In practice, we are doing an integration that loads the current date into the desired cell every day.

If the accuracy of the calculation is not so important to you and there is no way to load the date, a good solution would be to use the formula from Chris below (with YEAR).

7 REPLIES 7   Certified Master Anaplanner

Re: Formula to find the age

Hi @algrigore!

You can make formula "(Today Date - Birthday)/365"   New Contributor

Re: Formula to find the age

Hey, @AntonMineev

Thanks, there is a formula also for the current date ?or I need to  import some data?   Certified Master Anaplanner

Re: Formula to find the age

Yes, there is currently no formula that returns the current day. The community has an idea about this, you can support it.
In practice, we are doing an integration that loads the current date into the desired cell every day.

If the accuracy of the calculation is not so important to you and there is no way to load the date, a good solution would be to use the formula from Chris below (with YEAR).  Super Contributor

Re: Formula to find the age

hi @algrigore ,

You will need one more line item to hold current date and the third line item which will be number formatted and formula which will be "(Current date - Date of birth)/365 "which will give you age in years.

Thanks

Abhay   Community Boss

Re: Formula to find the age

Its a little simpler than the solution offered.

Chris
HeathcoteAndHerran.com  Super Contributor

Re: Formula to find the age

@ChrisAHeathcote

I think it will not give half years or any fraction like 4.6, 7.5 I am not sure, definitely it can be used to get result in integer value only.

Thanks

Abhay   Community Boss

Re: Formula to find the age

Yes, you are right.

The solution will only provide whole numbers.

Chris
HeathcoteAndHerran.com