#46 — Find The Category Meeting The Specified Condition
Judith-Excel-Sharing
Posted on August 16, 2024
Problem description & analysis:
In the Excel table below, the 1st column is the category and the 2nd column contains detailed data whose values are true or false.
Task: Find the category whose detail data does not have the true value. The expected result will be Andy and Tim.
Solution:
Use SPL XLL to get this done:
=spl("=?.groups(~1;count(~2)).select(#2==0).(#1)",A1:B6)
As shown in the picture below:
Explanation:
groups() function groups and summarizes data; ~1 represents the 1st child member of the current member; #1 is the 1stcolumn of the table.
💖 💪 🙅 🚩
Judith-Excel-Sharing
Posted on August 16, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
tutorial #44 — Group Rows And Combine Non-Null Values in Each of The Non-Grouping Columns
August 13, 2024