Is there a way to do the following in Excel 2010 (or any other version?)
I have hundreds and hundreds of rows, but…
Simplified:
I have 10 columns.
5 Columns contain data i’m interested in.
For each row, only one of the 5 columns has data in it (a non-numerical string)
I want to write a formula that says "Look in Columns B,C,D,E, and F. If you find
a string there, copy the value of that cell into the corresponding cell in Column K.
Visualized:
-----A----B-----C----D-----E-----F-----G-----H-----I-----J---- K
1--------LG----------------------------------------------------- LG
2----------------YA----------------------------------------------YA
3---------------------PP---------------------------------------- PP
4--------------- RR----------------------------------------------RR
5---------------------QT----------------------------------------QT
6----------------------------LY--------------------------------- LY
7--------UP---------------------------------------------------- UP
8----------------SN-------------------------------------------- SN
9--------FX-----------------------------------------------------FX
Is there a formula I could put in for column K to accomplish this?
That formula looks like it’s testing for the length of the string formed when you concatenate the various columns to see if it’s greater than 2. But if there are strings of various lengths in the data cells, then they’ll look like errors once they are concatenated. So if the value ‘123’ appears in cell a2, the len value would be 3 and look like an error.