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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,789
Messages
6,121,590
Members
449,039
Latest member
Arbind kumar

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