AND statement in smart sheet
I am having issues getting results back when using AND statement
I am trying to compare two conditions, and show if an action is late or not using the following formula
I want to say if the End date is before today and the completed is blank then the action is late.
the line circled in red should show 1 cause both criteria's are true but it still shows 0
=IF(AND([End Date]@row<TODAY(),Completed@row=" "), 1, 0)
Best Answer
-
Hello,
Try this formula:
=IF(AND([End Date]@row < TODAY(), ISBLANK(Completed@row)), 1, 0)
This should work when the Completed column type is set to date format.
Answers
-
I also tried this
=IF((AND(ISBLANK([Completed@row])),[End Date]@row < TODAY()), "Late", "OnTime")
-
-
Hello,
Try this formula:
=IF(AND([End Date]@row < TODAY(), ISBLANK(Completed@row)), 1, 0)
This should work when the Completed column type is set to date format.
-
Thank you so much everyone
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives