Assuming your data is in columns a, b and c, you could put this formula into column d:
=CONCATENATE(
MID(A1,FIND(MID(C1,1,1),B1,1), 1 ),
MID(A1,FIND(MID(C1,2,1),B1,1), 1 ),
MID(A1,FIND(MID(C1,3,1),B1,1), 1 ),
MID(A1,FIND(MID(C1,4,1),B1,1), 1 ),
MID(A1,FIND(MID(C1,5,1),B1,1), 1 ),
MID(A1,FIND(MID(C1,6,1),B1,1), 1) )
Note that if the data in column c (QCFFQS in your example) is not exactly 6 characters, this won't work correctly. Also note that if column C contains letters that are not in column B or column B contains letters not in column A, you'll get #VALUE errors.
Finally, if you need more than 6 characters, I would suggest turning this into a macro where you can add iterative structures and other logic items.
2007-02-01 16:38:48
·
answer #1
·
answered by BigRez 6
·
0⤊
0⤋
if you need reflection of any cell in any where in the sheet use cell reference like this
you need reflection of A1 in C1 type +A1 in C1
you need reflection of A2 in C2 type +A2 in C2
if this is not the answer elaborate more your question ?
2007-02-02 01:57:19
·
answer #2
·
answered by New_Town_Karachi_Pakistan 1
·
0⤊
0⤋