Formula to find the age

algrigore
New Contributor

Formula to find the age

Hello,

 

Can you please help me with an info?

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
AntonMineev
Certified Master Anaplanner

Re: Formula to find the age

Hi @algrigore!

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

Снимок экрана 2021-05-13 в 11.29.59.png

View solution in original post

abhay.kanik
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

View solution in original post

AntonMineev
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).

View solution in original post

7 REPLIES 7
AntonMineev
Certified Master Anaplanner

Re: Formula to find the age

Hi @algrigore!

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

Снимок экрана 2021-05-13 в 11.29.59.png

algrigore
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?

 
AntonMineev
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).

abhay.kanik
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

ChrisAHeathcote
Community Boss

Re: Formula to find the age

@algrigore 

How about =YEAR(Today) - YEAR(Birthday)

Its a little simpler than the solution offered.

Chris
HeathcoteAndHerran.com
abhay.kanik
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

ChrisAHeathcote
Community Boss

Re: Formula to find the age

@abhay.kanik 

Yes, you are right. 

The solution will only provide whole numbers.

Chris
HeathcoteAndHerran.com