Riesenrind
New Member
- Joined
- Sep 18, 2012
- Messages
- 13
- Office Version
- 365
- Platform
- Windows
I have an excel formula which is collecting data from various sources and putting it into a JSON-style array, e.g. ["apple","banana","banana","orange"] in B2
I want to write another formula which will exclude the duplicates, i.e. return ["apple","banana","orange"].
I have tried converting this to UNIQUE(B2) ... no luck
tried UNIQUE(SUBSTITUTE(SUBSTITUTE(B2,"[","{")"]","}") ... no luck
tried addiitonally subsituting UNIQUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"[","{")"]","}",";",",") .... also no luck
Is there any way to do this?
I'm using Excel 365. Because I have a lot of data I would prefer to avoid using VBA or volatile formula
I want to write another formula which will exclude the duplicates, i.e. return ["apple","banana","orange"].
I have tried converting this to UNIQUE(B2) ... no luck
tried UNIQUE(SUBSTITUTE(SUBSTITUTE(B2,"[","{")"]","}") ... no luck
tried addiitonally subsituting UNIQUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"[","{")"]","}",";",",") .... also no luck
Is there any way to do this?
I'm using Excel 365. Because I have a lot of data I would prefer to avoid using VBA or volatile formula