Hello all,
I have a data set: each row belongs to a contact in a company. There are many companies, and for most companies - multiple contacts.
For each contact there's a column with 1s or 0s : 1 indicates the contact posses a certain quality (e.g. the contact belongs to the finance department). There can be multiple contacts in each company that posses the quality - but there could also be companies with no contacts at all that have 1s.
What I'm trying to find is which companies have no contacts that posses that certain quality. Which companies have no contacts with 1s.
What I did:
Started a new sheet, with unique company names.
in the cell next to the first company's name, I ran:
=Sumif( column with all the companies in the original data set, name of company from the 1st column, column of 0s or 1s that describe that quality in the original set)
I of course locked the first and last components with F4.
then ran it as an array.
and of course dragged the formula to each unique company name.
The problem:
* Trying to sort the sum column from small to large (so I could see which companies have 0 contacts with the quality) just didn't work. If you stroll down the column you can see it was not sorted.
* Trying to filter for just rows with 0s in the sum column, yields incorrect results. Checking in the original data set reveals some of these companies' contacts actually have 1s.
This problem has been repeating itself on several data sets.
What am I doing wrong?
(I should mention that the 1s and 0s that represnt that quality in the original dataset are formatted as general or number (tried both) and not as text - so that can't be the reason)
Thanks a lot all,
I'm definitely banging my head on my desk for a few good hours![]()
Bookmarks