Rollup Sheet vs Report Counts Don't Match

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
Check out the Formula Handbook template!