Cubist
Well-known Member
- Joined
- Oct 5, 2023
- Messages
- 2,139
- Office Version
- 365
- Platform
- Windows
- MacOS
Suppose I have an array in column A, I want to remove subsequent repeated elements; only keeping the first. For subsequent instances, replace with "". The result should be an array. UNIQUE() doesn't work because I want to keep the same index.
Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:A13 | A2 | ={"A";" ";"B";" ";"B";"B";"C";"C";" ";"";"";"C"} |
B2:B13 | B2 | ={"A";" ";"B";" ";"";"";"C";"";" ";"";"";""} |
Dynamic array formulas. |