Forum Discussion
KanwalNo1
Jul 06, 2024Iron Contributor
Finding Unique Values
PeterBartholomew1 djclements SergeiBaklan Hi Magicians! Column B of Sheet 1 in the attached file contains the data exported from an accounting software. The Ledger Account Names are separated by...
- Jul 06, 2024
I'm not a magician, but how about
=LET(v, UNIQUE(TEXTSPLIT(TEXTJOIN(CHAR(10), TRUE, VSTACK(B10:B13)), , CHAR(10))), FILTER(v, ISERROR(SEARCH("Bill No", v))))
SergeiBaklan
Jul 08, 2024Diamond Contributor
As variant
=DROP( REDUCE("", Particulars, LAMBDA(a,v, UNIQUE( VSTACK(a, DROP( TEXTSPLIT(v,,CHAR(10)), -1) ) ) ) ), 1)
but with poorer performance compare to djclements variant