Hi,
UDF
1) hit Alt + F11 to open VB Editor
2) go to Insert - > Module then paste code there
3) hit Alt + F11 again to get back to Excel
in cell B1
=sortcell(A1) or =sortcell(A1," ") ... second argument for delim chatcter

Originally Posted by
Michael168
Hi! VBA Expert here
I am looking for a module that read from G9:L(last row) and write the unique values into the cells M9:R (last row) with sorting left to right.
Few Examples :
G9:L14 M9:R14
4 5 3 3 4 5 = 3 4 5
2 2 3 6 7 0 = 0 2 3 6 7
7 4 9 8 2 3 = 2 3 4 7 8 9
7 9 9 0 1 8 = 0 1 7 8 9
7 1 6 8 6 6 = 1 6 7 8
6 7 9 1 7 6 = 1 6 7 9
I wish the above example is clear for you to help me.
Thanks for helping.
Regards,
Michael
Bookmarks