Rollup Sheet vs Report Counts Don't Match

Cesar Perez
✭✭✭✭
Hi there, I have a rollup sheet with a formula to count names based on specific criteria. I need to count items that are not decommissioned, development, stating, test, Linux, numbers 7, 2003, 2008. Unfortunately, the formula does not work. To validate, I created a report filtering the same parameters. The counts between the rollup sheet and the report don't match. The reports shows 10 items which is correct. The rollup sheet shows only 3 items. Any help with the formula will be appreciated.
The formula is as follows; =COUNTIFS({Date}, ISDATE(@cell), {Name}, @cell <> "Unknown", {Environment}, OR(@cell <> "Decommissioned", @cell <> "Development", @cell <> "Staging", @cell <> "Test"), {OS}, @cell <>"Linux", {OSVersion}, OR(@cell <> 7, @cell <> 2003, @cell <> 2008), {Powerstate}, @cell <> "Off", {Cluster}, @cell <> "Test")
The source file is linked below:
The report is linked below:
The rollup sheet is linked below:
Best Answer
-
@Cesar Perez For the Environment piece, change your OR to an AND. I think that will give you what you are looking for. The way you have it it's not filtering on the Environment.
Answers
-
@Cesar Perez For the Environment piece, change your OR to an AND. I think that will give you what you are looking for. The way you have it it's not filtering on the Environment.
-
@Cesar Perez Did that fix your issue, or are you still not getting the expected results?
-
@sharkasits Thank you for your recommendation. Unfortunately, it did not work. I changed the Environment to AND in the full formula and I still get a count of 3 instead of 10. The AND formula by itself does show a total of 15 which is correct. I tried the AND in the OS Version count and it shows the correct count of 16. All the individual count formulas work correctly. However, they do not work when I combine them in the full formula.
-
@sharkasits I just refreshed the file and the formula is working. Thank you for your recommendation.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.5K Get Help
- 433 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!