Apr 19 2023 04:22 AM
Hi there
I had a group of list from column B to column D with different number of rows. How should I get all the unique distinct value such that once there is any letter appear in the list, it will print out as from what you had seen in Column F? Since the list contains A-G, it will print the output from A to G. Thanks.
Apr 19 2023 04:34 AM
For example (if you have Microsoft 365 or use Excel Online):
=SORT(UNIQUE(VSTACK(OFFSET(B2:B51, 0, 0, COUNTA(B2:B51)), OFFSET(C2:C51, 0, 0, COUNTA(C2:C51)), OFFSET(D2:D51, 0, 0, COUNTA(D2:D51)))))
Apr 19 2023 04:36 AM
Apr 19 2023 04:36 AM
Or
=SORT(UNIQUE(VSTACK(FILTER(B2:B51,B2:B51<>""), FILTER(C2:C51, C2:C51<>""), FILTER(D2:D51, D2:D51<>""))))