I have a need to search a row of cells, and for every cell that contains a specific value, return the value from the cell above.
For example, consider the following
+---+--------+--------+--------+--------+--------+----------+
| | A | B | C | D | E | F |
+---+--------+--------+--------+--------+--------+----------+
| 1 | UK | DE | FR | HK | TW | |
+---+--------+--------+--------+--------+--------+----------+
| 2 | YES | | YES | YES | | |
+---+--------+--------+--------+--------+--------+----------+
| 3 | | YES | | YES | YES | |
+---+--------+--------+--------+--------+--------+----------+
| 4 | YES | | | YES | | |
+---+--------+--------+--------+--------+--------+----------+
So I want to insert a formula into cells F2, F3 and F4 which will give the following results
F2 = UK,FR,HK
F3 = DE,HK,TW
F4 = UK,HK
Can this be done?
Thanks