I'm trying to combine names from 2 different rows into a single rown as shown on the sheet below. Maybe I'm approaching this wrong and would welcome a different solution or a modification to my formula. Thanks for looking this over.
"=IFERROR(INDEX($A$1:$F$1, COLUMNS(A5:$F$5)), IFERROR(INDEX($A$2:$F$2, COLUMNS(A5:$F$5)-COLUMNS($A$1:$F$1)),""))"
"=IFERROR(INDEX($A$1:$F$1, COLUMNS(A5:$F$5)), IFERROR(INDEX($A$2:$F$2, COLUMNS(A5:$F$5)-COLUMNS($A$1:$F$1)),""))"
DK Single Game.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | JONES | SMITH | |||||||
2 | ANDREWS | FORD | DUFFY | JOHNSON | |||||
3 | |||||||||
4 | |||||||||
5 | 0 | 0 | 0 | 0 | SMITH | JONES | <- formula result | ||
6 | |||||||||
7 | JONES | SMITH | ANDREWS | FORD | DUFFY | JOHNSON | <- what I would like it to be | ||
TEAMS |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A5:F5 | A5 | =IFERROR(INDEX($A$1:$F$1, COLUMNS(A5:$F$5)), IFERROR(INDEX($A$2:$F$2, COLUMNS(A5:$F$5)-COLUMNS($A$1:$F$1)),"")) |