Multiple criteria Unique Counting

barkley

Board Regular
Joined
Mar 31, 2003
Messages
148
I have a data sheet of four columns.
The first two columns are used in an array on my summary sheet. Column A contains the column headings, column B contains the row headings of this array.
I need to use some form of COUNTIF or SUMPRODUCT to count the unique entries in column C for each combination of Column A & B on the data sheet.
So far on my summary sheet I have
=SUMPRODUCT((Data!A3:A20000=B3)*(Data!B3:B20000=A4),(Data!D3:D20000))
Which seems to return 0 and wouldn't account for unique references only anyway.
Does this make sense to anyone & can you help?
Thanks.
 
I have tried your solution, many thanks for your time, the formula using BigStr returns an N/A error (BigStr is defined as instructed).
I have attached a (condensed) sheet so far as per your instructions, but only the first group of cells works, and even then C4 should equal a total of 5 and C5 equals 6.
I have tried to work out how to resolve this but cannot see why it isn't working.
Any further suggestions?
Contractor and WO Count by Branch.xls
ABCDEFG
1
2332878415004#N/A
3ABBABNWE
4BEQUIPContractors1#VALUE!#VALUE!#N/A
5WONo0#VALUE!#VALUE!#N/A
6BLDMNTContractors#VALUE!#VALUE!#VALUE!#N/A
7WONo#VALUE!#VALUE!#VALUE!#N/A
8BLDREPContractors#VALUE!#VALUE!#VALUE!#N/A
9WONo#VALUE!#VALUE!#VALUE!#N/A
10CASHContractors#VALUE!#VALUE!#VALUE!#N/A
11WONo#VALUE!#VALUE!#VALUE!#N/A
Summary Feb,Mar,Apr
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I think those formulas require entry by holding down the CONTROL and SHIFT keys when hitting ENTER (=SUM(IF(FREQUENCY...).
 
Upvote 0
I'm blaming it on Monday! I should've re read what I was told earlier.
Thanks for that.

Unfortunately the BigStr problem still applies, any ideas why it returns N/A?
 
Upvote 0
No, I used 9.99999999999999E+307

I've just changed it to your suggestion and it works!

Thank you very much. It now takes 10 minutes to refresh instead of 10 hours!!

Greatly appreciated.
 
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,947
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top