J’ai plusieurs tests à réaliser et ma feuille Excel ressemble à un dinosaure tellement elle possède de colonne. Je ne possède aucune notion en VBA c’est pourquoi je réalise manuellement tous les tests, il reconnaître que c’est plutôt long, fastidieux avec le risque d’erreur. Si quelqu’un pouvait se pencher sur mon problème se serait formidable.
Merci par avance car je me rends compte du travail à réaliser
Je joins le fichier en annexe pour être plus clair
Chronologie du test (en langage Excel)
1) Fonction F1 = SIN(B17/Z$30)+SIN(C17/AA$30) Résultat calcul en AL12 = 8.37
2) Fonction F21 =SIN(B17/Z$30)+SIN(C17/AA$30)+SIN(D17/AB$30) résultat en AN12=12.5
3) Fonction F22 =SIN(B17/Z$30)+SIN(C17/AA$30)-SIN(D17/AB$30) résultat en AO12=1.18
4) Test : si résultat F21>F1 alors F21 retenue
5) Test : si résultat F22>F1 alors F22 retenue
6) Test : si résultat F21et F22 < F1 alors F1 retenue
7) Résultat du test F21 > F1 car 12.5 > 8.37
8) Fonction F21 + nouvelle fonction =SIN(B17/Z$30)+SIN(C17/AA$30)+SIN(D17/AB$30)+SIN(E17/AC$30) Résultat calcul en AQ12 = 12.4
9) Fonction F32 =SIN(B17/Z$30)+SIN(C17/AA$30)+SIN(D17/AB$30)-SIN(E17/AC$30) résultat en AR12=4.83
10) Test : si résultat F31>F21 alors F31 retenue
11) Test : si résultat F32>F21 alors F32 retenue
12) Test : si résultat F31et F32 < F31 alors F21 retenue
13) Résultat du test F31 et F32 < F21 car 12.4 < 12.5 Fonction F21 retenue
14) Fonction F21 + nouvelle fonction F41 =SIN(B17/Z$30)+SIN(C17/AA$30)+SIN(D17/AB$30)+SIN(F17/AD$30) Résultat calcul en AT12 = 15.1
15) Fonction F42 =SIN(B17/Z$30)+SIN(C17/AA$30)+SIN(D17/AB$30)-SIN(F17/AD$30) résultat en AU12=1.73
16) Test : si résultat F41>F21 alors F41 retenue
17) Test : si résultat F42>F21 alors F42 retenue
18) Test : si résultat F41et F42 < F21 alors F21 retenue
19) Résultat du test F41 > F21 car 15.5 > 12.5
Etc…
Partager