Sub If_Conditions_Multiples()
Dim tabloAC, tabloAD, tabloAP, i&
tabloAC = [AC2:AC170000] 'matrice, plus rapide
tabloAD = [AD2:AD170000] 'matrice, plus rapide
tabloAP = [AP2:AP170000] 'matrice, plus rapide
For i = 1 To UBound(tabloAC)
If IsNumeric(tabloAC(i, 1)) Then
If tabloAD(i, 1) = "CM" Then
tabloAP(i, 1) = tabloAC(i, 1) / 100
ElseIf tabloAD(i, 1) = "MM" Then
tabloAP(i, 1) = tabloAC(i, 1) / 1000
ElseIf tabloAD(i, 1) = "DE" Then
tabloAP(i, 1) = tabloAC(i, 1) / 10
End If
End If
Next
[AP2:AP170000] = tabloAP 'restitution...