IF data blank populate NA
miggy
✭✭
Hello,
I have a formula that adds a year to the date to provide an out-of-warranty date. If the "Purchase Date" column is blank, how can I make the formula populate "NA"?
=DATE(YEAR([Purchase Date]@row) + 1, MONTH([Purchase Date]@row), DAY([Purchase Date]@row))
Next, I would like to make a Status column that populates "NA". How can I add to this formula
=IF([Warranty Expiration Date]@row < TODAY(), "Out of Warranty", IF([Warranty Expiration Date]@row > TODAY(), "Under Warranty", ))
Answers
-
- =IF(ISBLANK([Purchase Date]@row), "NA", DATE(YEAR([Purchase Date]@row) + 1, MONTH([Purchase Date]@row), DAY([Purchase Date]@row)))
- =IF(ISBLANK([Purchase Date]@row), "NA", IF([Warranty Expiration Date]@row < TODAY(), "Out of Warranty", IF([Warranty Expiration Date]@row > TODAY(), "Under Warranty")))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 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!