JohnTravolski
New Member
- Joined
- Nov 25, 2015
- Messages
- 46
- Office Version
- 2019
- Platform
- Windows
Suppose I have several a range of cells, each cell of which contain a string, and I want a function to look at this range and output "FALSE" if all strings in the range are unique from each other and I want it to output the first duplicate it finds if there are at least two cells with the same value. Examples of what I'm wanting:
Cells: A, B, C, D, E
Output: FALSE
Cells: A, B, C, D, A:
Output: A
Cells: A, B, C, B, A:
Output: A
Cells: A, B, C, B, D
Output: B
Is it possible to write an Excel function that does this? (It's not imperative how the 'first' match is defined; what's important is that it just outputs one of the matches.)
Cells: A, B, C, D, E
Output: FALSE
Cells: A, B, C, D, A:
Output: A
Cells: A, B, C, B, A:
Output: A
Cells: A, B, C, B, D
Output: B
Is it possible to write an Excel function that does this? (It's not imperative how the 'first' match is defined; what's important is that it just outputs one of the matches.)