Removing duplicate names from a cell
Hello
I have a form where Users select a Department via a checkbox. This populates the intake sheet, of which the Department Managers names are populated via an INDEX MATCH into a Dept HOD column: the Dept Ops name is also populated in this way.
All of the names are then pulled into an 'Invitee' column via this formula:
=JOIN([Dept 1 HOD]@row + CHAR(10) + [Dept 1 Ops]@row + CHAR(10) + [Dept 2 HOD]@row + CHAR(10) + [Dept 2 Ops]@row + CHAR(10) + [Dept 3 HOD]@row + CHAR(10) + [Dept 3 Ops]@row + CHAR(10) + [Dept 4 HOD]@row + CHAR(10) + [Dept 4 Ops]@row + CHAR(10) + [Dept 5 HOD]@row + CHAR(10) + [Dept 5 Ops]@row)
What I want to do, is eliminate any duplicate names which appear in the 'Invitee' column.
Does anyone have any ideas on how I can do this?
Many thanks in advance!
Sarah
Best Answer
-
Try this:
=JOIN(DISTINCT([Dept 1 HOD]@row:[Dept 5 Ops]@row), CHAR(10))
Answers
-
Try this:
=JOIN(DISTINCT([Dept 1 HOD]@row:[Dept 5 Ops]@row), CHAR(10))
-
Thankyou!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 69 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!