Adding N/A as a dropdown so that it doesn't display 'Invalid'
Good day,
I want to add not applicable as 'N/A' on a dropdown to this formula such that it doesn't display 'INVALID'. Grateful for any help.
=IFERROR(IF(ISBLANK([Expiry Date]@row), "", IF([Expiry Date]@row <= TODAY(), "Red", IF([Expiry Date]@row <= TODAY(90), "Yellow", IF([Expiry Date]@row > TODAY(90), "Green")))), "")
Best Answers
-
Try this:
=IFERROR(IF(ISBLANK([Expiry Date]@row), "", IF([Expiry Date]@row <= TODAY(), "Red", IF([Expiry Date]@row <= TODAY(90), "Yellow", IF([Expiry Date]@row > TODAY(90), "Green")))), "N/A")
-
Wrap that one in an IFERROR.
=IFERROR([Expiry Date]@row - TODAY(), "")
Answers
-
Try this:
=IFERROR(IF(ISBLANK([Expiry Date]@row), "", IF([Expiry Date]@row <= TODAY(), "Red", IF([Expiry Date]@row <= TODAY(90), "Yellow", IF([Expiry Date]@row > TODAY(90), "Green")))), "N/A")
-
Dear Paul,
Thanks for responding and apologies on my path for the confusion. I refer to the attachment. The formula I have in the column 'From Today' as follows:
=[Expiry Date]@row - TODAY()
If however 'N/A' is applied under 'Expiry Date' it reads 'INVALID OPERATION'
What can I do so that this 'INVALID OPERATION' doest appear?
-
Wrap that one in an IFERROR.
=IFERROR([Expiry Date]@row - TODAY(), "")
-
Thanks again. Exactly what I am looking for.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!