Want to return a unique list of values from a column that contains an array formula

freeb1893

Board Regular
Joined
Jul 30, 2012
Messages
234
Office Version
  1. 365
Platform
  1. Windows
I have a column where I'm doing some indexing / matching via an array formula

I'd like to, in another column, calculate a list of unique values from that resulting array formula column

The UNIQUE function doesn't seem to work since the column I'm trying to process the unique values from has that array formula working in it. I keep getting a #SPILL! error.

Any ideas how I can get that unique list of values?
 
You could also replace you formula with this
Fluff.xlsm
MNO
1
2AT-3328/04/2023 10:15Smith, John
3EDGE-13283 
4EDGE-13293 
5EDGE-13645 
6EDGE-13900 
7EDGE-13901 
8EDGE-13904 
9EDGE-13905 
10EDGE-13906 
11EDGE-13907 
12EDGE-13908 
13EDGE-1390929/06/2022 10:33Gibbs, Harry
14EDGE-13910 
15EDGE-13911 
16EDGE-13952 
Sheet2
Cell Formulas
RangeFormula
M2:M17M2=UNIQUE('Raw Data'!$B$2:$B$10000)
N2:O2,N13:O13,N3:N12,N14:N16N2=LET(d,'Raw Data'!$M$2:$M$10000,s,SEQUENCE(ROWS(d),,2),r,FILTER(ROW(d),('Raw Data'!$B$2:$B$10000=M2)*(d="development")),o,FILTER(CHOOSECOLS('Raw Data'!$J$2:$M$10000,1,-1),(s=r-1)+(s=r+1),""),IF(COUNT(r),FILTER(o,ISNUMBER(FIND(",",TAKE(o,,-1)))),""))
Dynamic array formulas.
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
That means you have cells below the formula that are not completely empty. You need to clear them.
Also with 365 you no longer need to array enter any formula.
Ahh perfect! Thank you so much for your patience! I haven't mucked with Excel for years. That was what I was doing wrong. It works! Thanks again!
 
Upvote 0
You;re welcome & thanks for the feedback.
 
Upvote 0
As col M on your raw data doesn't have anything saying "Development" it's difficult to help, but if your array formula is in col P try
Excel Formula:
=unique(filter(p2:p100,p2:p100<>""))
Is there a way to modify this formula where not only does it index unique values, but also sorts them in alphabetical order?
 
Upvote 0
Yup, just wrap it in the SORT function.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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