With data in A1 - B5:
A 1 //remove
A 2
B 3 //remove
B 2
C 1
How do you remove duplicates in column A, keeping the last set of values in other columns? Results should look like this:
A 2
B 2
C 1
I've tried combinations of Filter, Unique, and xlookup but haven't found an approach that works yet.
XLOOKUP()
withUNIQUE()
-->=LET(α, A1:A5, δ, UNIQUE(α), HSTACK(δ, XLOOKUP(δ,α,B1:B5,,,-1)))
? Will it be slow as well? or why not useLOOKUP()
-->=LET(α, A1:A5, δ, UNIQUE(α), HSTACK(δ, LOOKUP(δ,α,B1:B5)))
– Unionist