Hi, we are trying to join text together based on the number of occurrences...
i.e. to concatenate relevant info into the row which is the first occurrence
Hopefully this may make it a little clearer
Huge thanks for taking a look!
i.e. to concatenate relevant info into the row which is the first occurrence
Hopefully this may make it a little clearer
textjoin-based-on-max-occurrences-question.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Row | Classification | nth occurrence of the class'n | Info | Target | ||
2 | 2 | Alpha | 1 | Please | Occurrence 1: Please ; Occurrence 2: Amalgamate ; Occurrence 3: This | ||
3 | 3 | Alpha | 2 | Amalgamate | |||
4 | 4 | Alpha | 3 | This | |||
5 | 5 | Beta | 1 | Column | Occurrence 1: Column ; Occurrence 2: ; | ||
6 | 6 | Beta | 2 | ||||
7 | 7 | Charlie | 1 | Some Fields | Occurrence 1: Some Fields ; | ||
8 | 8 | Delta | 1 | Occurrence 1: ; Occurrence 2: Are ; Occurrence 3: ; Occurrence 4: Numbers ; Occurrence 5: 10; | |||
9 | 9 | Delta | 2 | Are | |||
10 | 10 | Delta | 3 | ||||
11 | 11 | Delta | 4 | Numbers | |||
12 | 12 | Delta | 5 | 10 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2:C12 | C2 | =COUNTIF(B$2:B2,B2) |
Huge thanks for taking a look!