counting unique values based on a condition with autofiltering

sammybr

New Member
Joined
Mar 18, 2014
Messages
2
Hi all,

Like all, apologies if this may have been answered already...

I have a column that contains unique values and I am able to count the total amount of unique entries that updates when an autofilter is used. The formula I have used is:

=SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(M32,ROW(M32:M6294)-ROW(M32),,1)),
IF(M32:M6294<>"",MATCH("~"&M32:M6294,M32:M6294&"",0))),ROW(M32:M6294)-ROW(M32)+1),1))

My question is, how can I further restrict this to only provide unique values if the condition in say cell I7 appears in column "S"?

I am using excel 2010 if this helps?

Thanks heaps

Sam
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Sorry... One more thing I should have mentioned is that I enter this formula as an array (CNTRL + SHIFT + ENTER).
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,880
Members
449,477
Latest member
panjongshing

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