Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Nested IF formula using additional AND/OR logical functions
Hello everybody,
I am struggling with creation of formula for defining Invoice Status Symbol (RYG). Geeting the UNPEARSEABLE error message.
My formula is right now as follows:
=IF(TODAY-[INVOICE DUE DATE]11>30,"Red",IF(AND(TODAY-[INVOICE DUE DATE]11>5,TODAY-[INVOICE DUE DATE]11<=30),"Yellow", IF(OR(TODAY-[INVOICE DUE DATE]11<=5, [INVOICE FULLY PAID]11=1),"Green")))
Maybe it is somehow related to parenthesis but I have tried a lot of combinations.
Can anybody help ?
Thank you. Ladislav
Comments
-
you are so close.
today is written TODAY()
=IF(TODAY() - [INVOICE DUE DATE]11 > 30, "Red", IF(AND(TODAY() - [INVOICE DUE DATE]11 > 5, TODAY() - [INVOICE DUE DATE]11 <= 30), "Yellow", IF(OR(TODAY() - [INVOICE DUE DATE]11 <= 5, [INVOICE FULLY PAID]11 = 1), "Green")))
-
Tracy, it works now ! Thank you. Smartsheet does have smart sheets but few things are so different from standard (Excel, Google) sheets, I am just getting into. My formula has another, logical mistake but this I have to solve on my own.
-
To whom it may concern, it works like this:
=IF(AND(TODAY() - [INVOICE DUE DATE]11 > 5, TODAY() - [INVOICE DUE DATE]11 <= 30), "Yellow", IF(OR(TODAY() - [INVOICE DUE DATE]11 <= 5, [INVOICE FULLY PAID]11 = 1), "Green", "Red"))
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives