May 31, 2019 09:41 PM
I am a real novice at formulas and I have been unable to work out what I have done wrong. Can somebody please tell me.
DATETIME_DIFF(TODAY(01-11-2019),{DOB LInk},‘Y’)
I am trying to return the age of a person based on the difference between the DOB and the date in the future. What I have here works sometimes but sometimes gives the incorrect age. The problem occurs if the dob is later in the year than todays date.
Explore the "AYM Festival test 2019 " base on Airtable.
Hopefully the link will show that the first age (for Jacob) is correct but the second line for (Peter) is one year out.
Solved! Go to Solution.
Nov 17, 2020 11:20 AM
As Justin said the answer was in the thread and provided something I could not do myself.
Best of luck with it.
Phil
Nov 18, 2020 09:30 AM
Yes @Philip_Barber and @Justin_Barrett I tried pasting the formula in but it marked error. I do not need the date AS OF a specific date, or do I need to add a specific date?
for example what does DATE_TIME PARSE mean?
I used this example: DATETIME_DIFF(TODAY(11-18-2020),{DOB LInk},‘M’)/12
Nov 18, 2020 09:34 AM
Yes I have. They are marking Error.
Nov 18, 2020 10:40 AM
Hi Antonia,
I am not an expert and I relied on somebody else in the community answering my question and the formula that they gave me is …. DATETIME_DIFF(DATETIME_PARSE(‘11-11-2019’,‘DD-MM-YYYY’),{DOB LInk},'Y’)
In my case the child gave their specific DOB and this then calculated what their age would be on a specific date in the future.
I hopes this helps
Phil
Nov 18, 2020 11:36 AM
I have just been notified that “My reply to your problem has not been sent because they couldn’t find content” I my email!!!
If you want to see my formula please reply directly to me at phil.barber@sky.com and I will send it to you.
Regards
Phil
Nov 18, 2020 02:47 PM
Thank you!
Antonia Lavender
310.803.6854
Antonia@AntoniaLavender.com
Nov 20, 2020 09:14 AM
I see two problems:
'M'
.TODAY()
function. TODAY()
doesn’t accept any arguments. Even if it did you can’t just type a date and have it interpreted as a date.The correct formula should be:
DATETIME_DIFF(TODAY(), {DOB Link}, 'M') / 12
Nov 23, 2020 02:02 PM
Justin, you are a GODSEND! I figured it out and it works! Thank you!!
Jul 04, 2024 04:59 PM - edited Jul 04, 2024 05:07 PM
Gente, que post incrível!!
Começando do zero, consegui colocar as idades de óbito e atual para os vivos na minha tabela, como vocês podem ver.
Lendo aí em cima, vi que foi falado em colocar anos, meses e dias, mas não consegui fazer. Alguém pode me ajudar? Ficaria perfeito!
Obrigado desde já!!