Hi!
I have a formula that works awesomly to calculate international age (see below).
IF(
{🆔 Birthday}=BLANK(),
' (N/A)',
IF(
{🆔 Death}=BLANK(),
IF({🆔 Birthday},' ('&DATETIME_DIFF(TODAY(), {🆔 Birthday}, 'years')&')'),
IF({🆔 Birthday},' (✟ '&DATETIME_DIFF({🆔 Death}, {🆔 Birthday}, 'years')&')')
)
)
{ :id: Birthday} is a date field.
I’ve been trying to adapt this formula to calculate Korean age.
I would need it to do something like
IF({🆔 Birthday},IS_BEFORE(TODAY(),DATETIME_FORMAT({🆔 Birthday}, 'MMDD'),+2 'years',+1 'Years'))
…if that makes sense? I’ve been banging my head for too long that even the above might have an error. So in plain English: if today is before a persons birthday (but after January 1) I want it to add 2 years to their age. If it’s after their birthday I want it to add 1 year. I just can’t get it to actually work and I wouldn’t be at all suprised if it’s all down to my nesting, which I’m horribly at.
I would be endlessly gratful for any and all help with this. It would save me a huge head ache. Literally.