Hi all,
I have been struggling with this situation and am hoping someone can help.
I have found solutions that almost get me there, but, nothing fully fits my situation.
Here is some example data:
<tbody>
</tbody>
The situation:
data is in a table that is updated regularly through connection to oledb - call it 'table1' on Sheet1
need unique count of 'count org' only if category is 1 or 4
count org has blanks as indicated above, but, category does not contain blanks.
real data has thousands of rows and many categories, I want to exclude several categories (nested if or multiple logic tests in formula would be difficult).
I can (and tried to) put categories to count in separate criteria list as the categories rarely change. Single criteria would be much easier, but, I have a bunch.
I am looking for a single cell solution (dashboard type report), but, helper columns may be possible (the count org column is a helper I have created).
in sample above, unique count (of count org) would be 3, but, unique count with criteria would be 2.
I am using excel 2010.
I have tried many gyrations of sumproduct, frequency, match, and pairing with if, countif(s), etc.. and can get either unique count or match the criteria to work, but, not together.
I saw some formulas using rows, but, they had single cell criteria or I couldn't get them to work with a table that shrinks / grows with each update.
Any help would be greatly appreciated!
tsheets
I have been struggling with this situation and am hoping someone can help.
I have found solutions that almost get me there, but, nothing fully fits my situation.
Here is some example data:
site | org | count org | category |
site1 | org1 | cat1 | |
site2 | org2 | org2 | cat2 |
site3 | org1 | cat3 | |
site4 | org3 | org3 | cat4 |
site5 | org3 | org3 | cat4 |
site6 | org4 | cat1 | |
site7 | org1 | cat1 | |
site8 | org4 | org4 | cat1 |
<tbody>
</tbody>
The situation:
data is in a table that is updated regularly through connection to oledb - call it 'table1' on Sheet1
need unique count of 'count org' only if category is 1 or 4
count org has blanks as indicated above, but, category does not contain blanks.
real data has thousands of rows and many categories, I want to exclude several categories (nested if or multiple logic tests in formula would be difficult).
I can (and tried to) put categories to count in separate criteria list as the categories rarely change. Single criteria would be much easier, but, I have a bunch.
I am looking for a single cell solution (dashboard type report), but, helper columns may be possible (the count org column is a helper I have created).
in sample above, unique count (of count org) would be 3, but, unique count with criteria would be 2.
I am using excel 2010.
I have tried many gyrations of sumproduct, frequency, match, and pairing with if, countif(s), etc.. and can get either unique count or match the criteria to work, but, not together.
I saw some formulas using rows, but, they had single cell criteria or I couldn't get them to work with a table that shrinks / grows with each update.
Any help would be greatly appreciated!
tsheets