I need to list all unique publications, which are listed horizontally:
- Publications | PUB-942575 | PUB-936976 | PUB-936976 | PUB-936976 | PUB-947197 | PUB-947197 | PUB-940212 | PUB-928798
I want to return only the unique values horizontally in a row, like below:
- Publications | PUB-942575 | PUB-936976 | PUB-947197 | PUB-940212 | PUB-928708
If the publications can be sorted alphabetically, that would be even better.
All the formulas I've found work for values listed vertically, so any help form the community would be greatly appreciated.

Simple
UNIQUE()function should work for you like-Second
[by_col]parameterTRUEindicates to return unique by column. If you want to add wordPublicationthen may try withHSTACK().=HSTACK(A1,UNIQUE(B1:I1,1))