Hi, I would like to generate a string by concatenating cells from a header (first row of cells), based on whether the cells beneath the header meet certain criteria.
For example, in the worksheet below, the number 2 is repeated beneath the headers c, 1, 2, 3. So, the formula I need should generate c123.
Basically, I am trying to generate a compact code that refers to each row, based on its entries. That code will be passed to another worksheet, and will allow me to simply look at the code and understand its meaning, without having to keep looking the original cells. Make sense?
Excel 2007
For example, in the worksheet below, the number 2 is repeated beneath the headers c, 1, 2, 3. So, the formula I need should generate c123.
Basically, I am trying to generate a compact code that refers to each row, based on its entries. That code will be passed to another worksheet, and will allow me to simply look at the code and understand its meaning, without having to keep looking the original cells. Make sense?
Excel Workbook | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | a | b | c | 1 | 2 | 3 | 4 | 5 | e | f | g | code generated | ||
2 | 2 | 2 | 2 | 2 | c123 | |||||||||
3 | 4 | 4 | 4 | 4 | bc12 | |||||||||
4 | 3 | 3 | 3 | 3 | 3 | 345ef | ||||||||
Sheet1 |