Pulling Tasks into a Report Using Multiple IF(AND( formulas in the same cell
My ultimate goal is to pull data into a report from a project plan.
I want to pull:
- Current tasks (Tasks where TODAY falls between the Start Date and the End Date)
- Upcoming Tasks (Tasks where the Start Date is within the next 7 days)
- Previous Tasks (Tasks where the End Date is within the previous 7 days)
- Late Tasks (Tasks where the End Date has passed but the % Complete is not 100% or "Full" using the Progress Bar symbol)
What is the best way to do this?
I was thinking of creating a hidden column with formulas identifying these rows and then using report builder to pull off those columns, but I'm having trouble with multiple IF(AND formulas in the same cell.
These seem to work individually but not together. Will I need 4 different columns?
- Current tasks: =IF(AND[Start Date]# <= TODAY(), [% Complete]# <> "Full", "Current")
- Upcoming tasks: =IF(AND(([Start Date]# - TODAY() > 0), ([Start Date]# - TODAY() < 7)), "Upcoming Task")
- Previous tasks: =IF(AND(TODAY() - [End Date]# > 0, (TODAY() - [End Date]# < 7)), [% Complete]# = "Full"), "Previous Task")
- Late tasks: =IF(AND(TODAY() > [End Date]#, [% Complete]# <> "Full"), "Late")
Any ideas or suggestions?
THANK YOU
Comments
-
Hi Jessica,
It sounds like you can add all of the criteria that you need to directly in the report builder window without having to create a formula.
In your report builder's what criteria, you can specify % complete is not "full"
In the when criteria, you can select your within 7 days, etc. criteria.
Attached is a screenshot of my report builder window with a similar layout.
More on creating reports can be found in the help center: https://help.smartsheet.com/articles/522214-creating-reports
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!