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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 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!