How to use UNIQUE, SORT and FILTER all together?

helpneeded2

Board Regular
Joined
Jun 25, 2021
Messages
110
Office Version
  1. 365
Platform
  1. Windows
I can seem to get UNIQUE, SORT and FILTER all working together.

Here's some example data:

123JohnDogs
444MaryCats
56SueBirds

This is a simplified example table, and an important note is that my actual table will contain various blank rows in between the rows with data.

I want to sort the table by Column B, and filter the table for data in Column A where the value must be <>"", and then apply Unique, as there there may be multiple entries of the same number in Column A.

How can this be achieved. Everything I try results in a SPILL error?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Try:

Book2
ABCDEFG
1123MaryDogs444JohnCats
2444JohnCats123MaryDogs
356SueBirds56SueBirds
4123MaryDogs
5
Sheet15
Cell Formulas
RangeFormula
E1:G3E1=SORT(UNIQUE(FILTER(A1:C10,A1:A10<>"")),2)
Dynamic array formulas.


SPILL means the resultant array overlaps some cells that have data in them. Try clearing everything out to the bottom and right and maybe your formula will work.
 
Upvote 0
Solution
Thanks Eric about pointing out the over lapping data... I am very new to these functions, and now realize I had columns of data in the way of where the filter range was trying to display the data.
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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