Function help
Hello, I'm trying to add a function so when I put the date of birth it calculates the age. Why isn't this working
Tags:
Answers
-
Try this one. I found it in a post a long while back and use it when I need a DOB calc.
=IF(MONTH(TODAY()) > MONTH(DOB@row), YEAR(TODAY()) - YEAR(DOB@row), IF(MONTH(TODAY()) < MONTH(DOB@row), YEAR(TODAY()) - YEAR(DOB@row) - 1, IF(DAY(TODAY()) >= DAY(DOB@row), YEAR(TODAY()) - YEAR(DOB@row), IF(DAY(TODAY()) < DAY(DOB@row), YEAR(TODAY()) - YEAR(DOB@row) - 1))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!