Multi Criteria Formula
I need to create a formula that filters rows based on several criteria. The formula should show rows between specific date periods for the ‘Date Created’ and ‘Date Closed’ columns. For example, rows created between 01/01/23 and 02/01/23. Next, the formula should break those rows into counties based on the ‘County if known’ column. For example, rows that have county X, Y, etc. Finally, the formula should list the different status of the row based on the ‘Status’ column. For example, Assigned, Working, etc.
I want the final report to look like this:
I really appreciate assistance.
Best Answer
-
I would typically say a new thread would be in order since the original thread is a parsing / structure question and this newest one is syntax on a COUNTIFS, but we can just leave that as "for future reference".
There are a few reasons why that COUNTIFS is not working. First, you need a criteria for that first range (or remove the range entirely). Next, when using dates in a formula, you need to use the DATE function.
DATE(yyyy, mm, dd)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
What does your source data look like?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Do you mean what are the column names or what does the data look like? Both?
-
Both. Knowing what you want the end result to look like helps, but we also need to know what we are starting with as well.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
I'm going to come back to the question that started this post. But right now I need help with this formula. Should I start another post or can you help me here? It's "unparseable"
=COUNTIFS({complaints Range 1}, {complaints Range 2},>=(2023,01,01),{complaints Range 3}<=(2023,12,31))
Range 1
Range 2
Range 3
-
I would typically say a new thread would be in order since the original thread is a parsing / structure question and this newest one is syntax on a COUNTIFS, but we can just leave that as "for future reference".
There are a few reasons why that COUNTIFS is not working. First, you need a criteria for that first range (or remove the range entirely). Next, when using dates in a formula, you need to use the DATE function.
DATE(yyyy, mm, dd)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
@Paul Newcome Thank you very much.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 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
Check out the Formula Handbook template!