Combine 'unique' function with 'filter' function

hungledink

Board Regular
Joined
Feb 20, 2012
Messages
88
Office Version
  1. 365
I'm trying to work out how to combine 2 separate functions into one cell and was wondering if anyone could assist.

I have a sample sheet of data, which has data in columns A to C, and rows 1 to 21. (image below)

I have used the filter function in cell E2 to filter out a specific value from column C, this produces a spill range, starting in cell E2 and then however many rows down it finds the criteria. I then use the unique function in cell E23, to count the unique values returned from the initial filter.

I can get the 2 formulas to work separately, but I have to manual enter the range in the unique filter which isnt ideal since the number of rows is dynamic.

I wondered if I could combine the 2 formulas into 1 cell?

1657054366065.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,429
Messages
6,124,834
Members
449,192
Latest member
mcgeeaudrey

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