PDA

View Full Version : [SOLVED:] Formula to Display Several Strings of Text in a Cell



trav
03-23-2017, 09:17 AM
Hello All,

I am working with the following data:

A1: NYC-DEN-SEA

B1: NYC
B2: DEN
B3: SEA

C1: New York
C2: Denver
C3: Seattle

How can I make A2 to display "New York-Denver-Seattle ?

Thank you for helping.

Paul_Hossler
03-23-2017, 12:11 PM
In A2



=VLOOKUP(LEFT(A1,3),$B:$C,2,FALSE)&"-"&VLOOKUP(MID(A1,5,3),$B:$C,2,FALSE)&"-"&VLOOKUP(RIGHT(A1,3),$B:$C,2,FALSE)


18746

trav
03-23-2017, 02:03 PM
Much appreciated, Paul