Hello, I'm sure this is painfully simple, but not until you know how!
Into each cell A_i in column A, I want to return whatever text is in the range of cells B_i:D_i.
For example: for row 2, I want Excel to check if there is any text in cells B2, C2 or D2 and if so, return that text into A2, otherwise, leave A2 blank (there will be text in only one cell, if any).
I may want to extend the search rage to more than three cells in the row.
(I know it seems a bit pointless but this is not the actual text.)
Thank you.
Into each cell A_i in column A, I want to return whatever text is in the range of cells B_i:D_i.
For example: for row 2, I want Excel to check if there is any text in cells B2, C2 or D2 and if so, return that text into A2, otherwise, leave A2 blank (there will be text in only one cell, if any).
I may want to extend the search rage to more than three cells in the row.
(I know it seems a bit pointless but this is not the actual text.)
Thank you.
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | X,Y, or Z? | X | Y | Z | ||
2 | Y | |||||
3 | X | |||||
4 | Z | |||||
5 | Y | |||||
6 | X | |||||
7 | Y | |||||
8 | X | |||||
9 | Z | |||||
Sheet1 |