Por VBA
Sub substituir()
Dim uLin As Long, pLin As Long, pCol As Long, vPego As Long
uLin = Sheets("Plan1").Cells(Cells.Rows.Count, "S").End(xlUp).Row
For pLin = 6 To uLin
For pCol = 19 To 24
vPego = Application.Match(Cells(pLin, pCol).Value, Range("A1:U1"), 0)
Cells(pLin, pCol - 13) = Cells(3, vPego)
Next
Next
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 16/08/2013 2:12 pm