AND / OR / IF : Nested
Hi
As the Card View does not give you the option of using dates to view Boards, I wanted to find a way of doing this.
I wanted the following to show in the "Due" Column
- Complete
- Late
- Next 7 Days
- Future Tasks
What I didn't want to do, was to have to change the words myself each time as I am running a project with a lot of lines.
I have been trying to solve the issue of multiple nested statements using IF/AND/OR
This is what I was able to achieve using the following
=IF(Status5 = "Complete", "Complete",
IF(AND(Finish5 < TODAY(), (OR(Status5 = "In Progress", Status5 = "Not Started"))), "Late",
IF(AND(Finish5 > TODAY(), Finish5 < (TODAY() + 7), (OR(Status5 = "In Progress", Status5 = "Not Started"))), "This Week",
"Future")))
This is the Grid View
Board View
This is a much nicer view when looking at progress when you don't always need the date (similar to the MS Planner App) because you can then filter this for those that are assigned and take out the items that are completed.
Answers
-
What are the different options in the Status column?
-
Complete, Not Started, In Progress. You can add as many as you need and then add the relevant AND OR combination. On another sheet I have “On hold” and “Cancelled” and I will add the OR statements so that Cancelled tasks are shown as complete and “On hold” are shown as “Late”.
Purnima Gore
Cierr Limited
Your Time is Important, you want to Stay on Track, We can help you use the Right Tools
-
And i should have added to make the card view work, make sure that the column type is single select (which I think is the key for being able to use the card view)
-
Try this...
=IF(Status@row = "Complete", "Complete", IF(Finish@row < TODAY(), "Late", IF(Finish@row < TODAY(7), "This Week", "Future")))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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!