Textjoin: To show distinct and ignore blanks

JaiPrakash

New Member
Joined
Aug 7, 2017
Messages
6
Need help to get only distinct values from a list using Text Join


ID
Sequence​
Task 1
0.1​
Task 1
0.2​
Task 1
Task 1
0.1​
Task 2
0.1​
Task 2
0.1​
Task 2
0.3​
Task 2

Trying to get only distinct values from Sequence column for its respective tasks

IDSequence
Task 10.1,0.2,0.1
Task 20.1,0.1,0.3

What do I need to add in the existing formula so that it shows only distinct: =TEXTJOIN(",",TRUE,IF($AT$2:$AT$9=$AW2,TRIM($AU$2:$AU$9),""))

Thanks!!!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If you have office 365 then try

=TEXTJOIN(",",1,UNIQUE(FILTER(TRIM($AU$2:$AU$9),$AT$2:$AT$9=$AW2)))

I don't have 365 to test it but based on the examples that I found, I think that I have the syntax correct.
 
Upvote 0

Forum statistics

Threads
1,223,924
Messages
6,175,417
Members
452,640
Latest member
steveridge

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