|
|
|
|
Bonjour,
Je voudrais pouvoir utiliser une fonction du type "CASE" dans excel à la place d'imbriquer des fonction "SI" les unes dans les autres. Monde but est de faire le test suivant :
Si Cell A1= CellB1 alors ...
Si Cell A1= CellB2 alors ...
Si Cell A1= CellB3 alors ...
Si Cell A1= CellB4 alors ...
Si Cell A1= CellB5 alors ...
Si Cell A1= CellB6 alors ...
...
Merci d'avance
Configuration: Windows 2003 Internet Explorer 6.0
Bonjour à vous deux,
Select Case Range("A1").Value
Case Is = Range("B1").Value
'instructions
Case Is = Range("B2").Value
'instructions
Case Else
'instructions dans le cas où aucune des conditions n'est remplie
End Select |