How to filter on AND + OR statements
Hi all,
Please see what we are trying to achieve below.
I have hit a wall and wanted to get some feedback.
(a) Not complete, and
a. In the past, or
b. In the next 30 days'
Thank you!
Best Answer
-
Whenever a column name has a space, number, and/or special character in it, the column name must be wrapped in square brackets [ ].
=IF(AND(Status@row <> "Complete", [Due Date]@row <= TODAY(30)), 1)
Answers
-
You could add in a checkbox column and use a formula such as below to check the box for rows that match the criteria.
=IF(AND(Status@row <> "Complete", [Date Column]@row <= TODAY(30)), 1)
Then you can filter on this checkbox.
-
Hi Paul,
This may do the trick! However, I may be copying this incorrectly. I am getting the UNPARS error.
I have the [Date Column] referencing our "Due Date" column. Any ideas what could be causing this. I have tried to rework it but am not having any luck.
-
Can you copy the formula directly from the sheet and paste here?
-
=IF(AND(Status@row <> "Complete", Due Date@row <= TODAY(30)), 1)
The columns referenced are Status and Due Date
Thank you!!
-
Whenever a column name has a space, number, and/or special character in it, the column name must be wrapped in square brackets [ ].
=IF(AND(Status@row <> "Complete", [Due Date]@row <= TODAY(30)), 1)
-
Thank you!!
-
Happy to help! 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives