Question re previous post about counting uniques

kweaver

Well-known Member
Joined
May 12, 2009
Messages
2,934
Office Version
  1. 365
  2. 2010
I saw Fluff's solution. I had a different approach. However, I'm curious why you can't replace F2# in E2 with the code in F2:

Code:
FILTER(UNIQUE($A$2:$B$10),{1,0})

Book2
ABCDEF
1GLContractRand. Id
2GL1Contract 1textGL12GL1
3GL1Contract 1textGL21GL1
4GL1Contract 2textGL33GL2
5GL2Contract 3textGL3
6GL2Contract 3textGL3
7GL2Contract 3textGL3
8GL3Contract 4text
9GL3Contract 5text
10GL3Contract 6text
Sheet2
Cell Formulas
RangeFormula
D2:D4D2=UNIQUE(A2:A10)
E2:E4E2=COUNTIF(F2#,D2#)
F2:F7F2=FILTER(UNIQUE($A$2:$B$10),{1,0})
Dynamic array formulas.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Countif requires a range for the first argument, the formula in F2 returns an array, not a range.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,107
Members
449,205
Latest member
ralemanygarcia

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