Forum

Notifications
Clear all

Use UNIQUE and FILTER function to return duplicate values only

4 Posts
2 Users
0 Reactions
601 Views
(@stentg)
Posts: 18
Eminent Member
Topic starter
 

Hi team - I'm trying to work out if it's possible to use the new dynamic array functions to return a list of the duplicate values. The following formula shows the logic of what I am trying to achieve but it does not work ........ =FILTER(C4:C10,C4:C10<>UNIQUE(C4:C10,,TRUE)) ......... C4:C10 contains the list of items that I just want to keep duplicates from. I know there are other ways to achieve this but I am specifically looking to see if it is possible to do this with the new formulas. Thank you 🙂

 
Posted : 25/04/2021 8:00 am
(@fluff)
Posts: 36
Eminent Member
 

How about

=UNIQUE(FILTER(C4:C10,ISNA(XMATCH(C4:C10,UNIQUE(C4:C10,,1),0))))

 
Posted : 25/04/2021 2:46 pm
(@stentg)
Posts: 18
Eminent Member
Topic starter
 

That's brilliant Fluff ...... works perfectly ..... thank you 🙂

 
Posted : 27/04/2021 3:59 am
(@fluff)
Posts: 36
Eminent Member
 

You're welcome & thanks for the feedback

 
Posted : 27/04/2021 7:48 am
Share: