Hi,
Similar to this thread (Return all Unique Values Based on Criteria in a Single Cell).
I've modified the formula to suit the first table below but I wanted to include the column headings in brackets for each found occurrence as it appears in the example in the 2nd table below.
Is this possible with a formula (not Vb) ?
Thx in advance
Gav
Similar to this thread (Return all Unique Values Based on Criteria in a Single Cell).
I've modified the formula to suit the first table below but I wanted to include the column headings in brackets for each found occurrence as it appears in the example in the 2nd table below.
Is this possible with a formula (not Vb) ?
Thx in advance
Gav
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Acct | Desc1 | Desc2 | Desc3 | Desc4 | Desc5 | Unique | ||
2 | AAA111 | Start | Start | Begin | First | Start|Begin|First | |||
3 | BBB222 | Finish | End | Last | Last | Finish|End|Last | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
G2:G3 | G2 | =TEXTJOIN("|",TRUE,UNIQUE(B2:F2,TRUE)) |
Acct | Desc1 | Desc2 | Desc3 | Desc4 | Desc5 | Unique |
AAA111 | Start | Start | Begin | First | Start(Desc1, Desc2)|Begin(Desc4)|First(Desc5) | |
BBB222 | Finish | End | Last | Last | Finish(Desc1)|End(Desc2)|Last(Desc3, Desc4) | |