Using Sort, Unique & Filter to create a single list from a table..

Spoursy

New Member
Joined
Dec 4, 2019
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hi, Im using this formula to condense data from a table into a single column of data
=SORT(UNIQUE(FILTERXML("<a><b>"&SUBSTITUTE(TEXTJOIN("|",TRUE,'Unique Master List (filtered)'!CV17:DQ110),"|","</b><b>")&"</b></a>","//b")))

If i change the table range past row 110 i get a #Value! error

Any ideas welcome
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
What version of Excel are you using, as it's obviously not 2013?

If you use
Excel Formula:
=TEXTJOIN("|",TRUE,'Unique Master List (filtered)'!CV17:DQ110)
with the range you are getting problems with do you still get the error?
 
Upvote 0
Hi Fluff, Thanks for your reply. Im using 365. If I replace my formula with yours I dont get a spill of data
 
Upvote 0
Thanks - Ive updated my office version in my profile

When I put your formula in, replacing all of mine, I get one cell of data but no #value! error. I need to condense the table into a single column of unique values. Roger
 
Upvote 0
In that case you probably have cells that contain characters filterxml doesn't like. Do you have the new TEXTSPLIT function?
 
Upvote 0
It would appear not. When I have typed =textsplit excel doesnt seem to recognise it. I do have textJoin
 
Upvote 0
Am i supposed to just be using the =TEXTJOIN("|",TRUE,'Unique Master List (filtered)'!CV17:DQ110) that you suggested or adding it to my original formula of =SORT(UNIQUE(FILTERXML("<a><b>"&SUBSTITUTE(TEXTJOIN("|",TRUE,'Unique Master List (filtered)'!CV17:DQ110),"|","</b><b>")&"</b></a>","//b")))
 
Upvote 0
What range were you using when you got the error?
 
Upvote 0
It will work with ranges in size upto: Unique Master List (filtered)'!CV17:DQ110) But if i change the DQ110 to any row greater than that I get the #value! error
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,665
Members
449,114
Latest member
aides

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