Forum Discussion
KateEC
8 years agoFrequent Visitor
Age calculated column
Hi, I am trying to create a calculated column with age worked out used the 'Birthdate' column. I've looked and tried using some of the formulas from some existing posts, but none have worked. ...
- 8 years ago
Thanks for replying! In the end, I managed to do it using:
Age (Today) = FLOOR(IF([Birthdate] < TODAY(), DATEDIFF([Birthdate], TODAY(), DAY) / 365.25, 0), 1)
Couldn't quite figure yours out (absolute novice, here!), but thanks anyway! :)
v-chuncz-msft
8 years agoCommunity Support
You may add a calculated column and refer to this post.
Column =
IFERROR (
DATE ( RIGHT ( Table1[Birthdate], 4 ), MID ( Table1[Birthdate], 4, 2 ), LEFT ( Table1[Birthdate], 2 ) ),
BLANK ()
)
KateEC
8 years agoFrequent Visitor
Thanks for replying! In the end, I managed to do it using:
Age (Today) = FLOOR(IF([Birthdate] < TODAY(), DATEDIFF([Birthdate], TODAY(), DAY) / 365.25, 0), 1)
Couldn't quite figure yours out (absolute novice, here!), but thanks anyway! :)