Filter Distinct Values Only

nburaq

Board Regular
Joined
Apr 2, 2021
Messages
220
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi All,
I have created a formula that filters the data with multiple criteria and then textjoins all values in a cell. However I cant figure out how to sort distinct values. I know how to list Unique values but not other way around. I will be glad if someone can modify my formula. Thanks again for your help!

=TEXTJOIN(", ";TRUE;FILTER(Data!$AE$2:$AE$40619;(Data!$D$2:$D$40619=$D2)*(Data!$K$2:$K$40619="CRTD");"Not Available"))
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
What exactly do you mean by
my formula gives the result even if there are repeating values like ( 10,11,12,18,22,11,33,12) but I need repeating values only once. It is not important for me if filter function returns all repeating values.

Ok I think I just need to UNIQUE to just before FILTER function. Thanks again
 
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,306
Members
449,095
Latest member
Chestertim

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