{"text_format":"3","workbook":"xlsx","n_sheets":6,"sheets":["STOCK","Facture","Clients","Récapitulatif factures","Tableau de bord","Adaptations"],"not_rendered":{"images":2,"macros":1,"external_links":1,"defined_names":24},"read":"whole","date_system":"1900"}

{"sheet":"STOCK","index":0,"n_rows":287,"n_cols":8,"rows_kept":287}
[]
[]
[null,null,"Code ","D é s i g n a t i o n","P. Vente","P. Achat","%","Date"]
[]
[null,null,"P 1","APPLIQUE À SERTIR DOUBLE Ø 16 x 1/2\" (Tiemme)  ",{"v":1350,"d":"1,350.00"},{"v":1110,"d":"1,110.00"},{"$f":"(E5-F5)/F5","v":{"v":0.21621621621621623,"d":"21.62%"}},{"v":44475,"d":"4447500.00%"}]
[null,null,"P 2","APPLIQUE À SERTIR DOUBLE Ø 20 x 1/2\" (Tiemme)  ",{"v":1750,"d":"1,750.00"},{"v":1368,"d":"1,368.00"},{"$f":"(E6-F6)/F6","v":{"v":0.27923976608187134,"d":"27.92%"}},{"v":43211,"d":"4321100.00%"}]
[null,null,"P 3","MANCHON À VISSER  (Tiemme)  Ø  16              ",{"v":450,"d":"450.00"},{"v":387,"d":"387.00"},{"$f":"(E7-F7)/F7","v":{"v":0.16279069767441862,"d":"16.28%"}},{"v":44429,"d":"4442900.00%"}]
[null,null,"P 4","MANCHON À VISSER  (Tiemme)  Ø  20",{"v":750,"d":"750.00"},{"v":620,"d":"620.00"},{"$f":"(E8-F8)/F8","v":{"v":0.20967741935483872,"d":"20.97%"}},{"v":44452,"d":"4445200.00%"}]
[null,null,"P 5","ROULEAU  CALORIFUGÉ  Ø 16 ",{"v":7500,"d":"7,500.00"},{"v":6665,"d":"6,665.00"},{"$f":"(E9-F9)/F9","v":{"v":0.12528132033008252,"d":"12.53%"}},{"v":44128,"d":"4412800.00%"}]
[null,null,"P 6","COLLIER LARGE  Ø 75",{"v":100,"d":"100.00"},{"v":81,"d":"81.00"},{"$f":"(E10-F10)/F10","v":{"v":0.2345679012345679,"d":"23.46%"}},{"v":44262,"d":"4426200.00%"}]
[null,null,"P 7","COLLIER LARGE  Ø 90",{"v":110,"d":"110.00"},{"v":88,"d":"88.00"},{"$f":"(E11-F11)/F11","v":{"v":0.25,"d":"25.00%"}},{"v":43596,"d":"4359600.00%"}]
[null,null,"P 8","COLLIER LARGE À JOINT  Ø 15/21 ",{"v":50,"d":"50.00"},36.49,{"$f":"(E12-F12)/F12","v":{"v":0.37023842148533836,"d":"37.02%"}},{"v":44086,"d":"4408600.00%"}]
[null,null,"P 9","MÉCANISME DE  CHASSE  \"USO\" (VERTICALE)  ",{"v":1450,"d":"1,450.00"},{"v":1025,"d":"1,025.00"},{"$f":"(E13-F13)/F13","v":{"v":0.4146341463414634,"d":"41.46%"}},{"v":44464,"d":"4446400.00%"}]
[null,null,"P 10","RALLONGE CHROMÉE  (Tiemme)  1 CM  ",{"v":250,"d":"250.00"},{"v":205,"d":"205.00"},{"$f":"(E14-F14)/F14","v":{"v":0.21951219512195122,"d":"21.95%"}},{"v":44473,"d":"4447300.00%"}]
[null,null,"P 11","RALLONGE CHROMÉE  (Tiemme)  1,5 CM  ",{"v":300,"d":"300.00"},{"v":235,"d":"235.00"},{"$f":"(E15-F15)/F15","v":{"v":0.2765957446808511,"d":"27.66%"}},{"v":44359,"d":"4435900.00%"}]
[null,null,"P 12","SILICONE  (BLANC) \"ISOMIC\"",{"v":250,"d":"250.00"},{"v":195,"d":"195.00"},{"$f":"(E16-F16)/F16","v":{"v":0.28205128205128205,"d":"28.21%"}},{"v":44424,"d":"4442400.00%"}]
[null,null,"P 13","SILICONE  (TRASPARENT) \"LION\"",{"v":250,"d":"250.00"},{"v":205,"d":"205.00"},{"$f":"(E17-F17)/F17","v":{"v":0.21951219512195122,"d":"21.95%"}},{"v":44334,"d":"4433400.00%"}]
[null,null,"P 14","SILICONE  (TRASPARENT) \"RS\"",{"v":250,"d":"250.00"},{"v":210,"d":"210.00"},{"$f":"(E18-F18)/F18","v":{"v":0.19047619047619047,"d":"19.05%"}},{"v":44366,"d":"4436600.00%"}]
[null,null,"P 15","SILICONE  (TRASPARENT) \"SICA\"",{"v":450,"d":"450.00"},{"v":350,"d":"350.00"},{"$f":"(E19-F19)/F19","v":{"v":0.2857142857142857,"d":"28.57%"}},{"v":44387,"d":"4438700.00%"}]
[null,null,"P 16","SIPHON  DE BAIGNOIRE",{"v":3300,"d":"3,300.00"},{"v":2850,"d":"2,850.00"},{"$f":"(E20-F20)/F20","v":{"v":0.15789473684210525,"d":"15.79%"}},{"v":44390,"d":"4439000.00%"}]
[null,null,"P 17","VIS 4 X 30 ",{"v":2,"d":"2.00"},1.44,{"$f":"(E21-F21)/F21","v":{"v":0.38888888888888895,"d":"38.89%"}},{"v":44366,"d":"4436600.00%"}]
[]
[{"$nulls":7},{"$f":"IF(C23=\"\",\"\",IF(F23=0,\"RUPTURE\",IF(F23<=G23,\"COMMANDE\",\"\")))","v":""}]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},{"$f":"IF(C69=\"\",\"\",IF(F69=0,\"RUPTURE\",IF(F69<=G69,\"COMMANDE\",\"\")))","v":""}]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},{"$f":"IF(C133=\"\",\"\",IF(F133=0,\"RUPTURE\",IF(F133<=G133,\"COMMANDE\",\"\")))","v":""}]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},{"$f":"IF(C197=\"\",\"\",IF(F197=0,\"RUPTURE\",IF(F197<=G197,\"COMMANDE\",\"\")))","v":""}]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},{"$f":"IF(C261=\"\",\"\",IF(F261=0,\"RUPTURE\",IF(F261<=G261,\"COMMANDE\",\"\")))","v":""}]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]
[{"$nulls":7},""]

{"sheet":"Facture","index":1,"n_rows":67,"n_cols":12,"rows_kept":67,"merged":[[3,2,3,3],[4,2,4,3],[5,2,5,3],[5,4,5,6],[6,2,6,3],[6,4,6,6],[7,4,7,6],[37,4,37,5],[39,4,39,5]]}
[]
[]
[]
[]
[]
[{"$nulls":4},"SNC TRIBOULET et FILS"]
[{"$nulls":4},{"$f":"IF(E6=\"\",\"\",IF(ISNA(VLOOKUP($E$6,Clients!B:F,2,FALSE)),\"\",VLOOKUP($E$6,Clients!B:F,2,FALSE)))","v":"32, rue du Mont Clair"}]
[{"$nulls":4},{"$f":"IF(E6=\"\",\"\",IF(ISNA(VLOOKUP($E$6,Clients!B:F,3,FALSE)),\"\",VLOOKUP($E$6,Clients!B:F,3,FALSE)))","v":"1er Etage"}]
[{"$nulls":4},{"$f":"IF(E6=\"\",\"\",CONCATENATE(IF(ISNA(VLOOKUP($E$6,Clients!B:F,4,FALSE)),\"\",VLOOKUP($E$6,Clients!B:F,4,FALSE)),\"    \",IF(ISNA(VLOOKUP($E$6,Clients!B:F,5,FALSE)),\"\",VLOOKUP($E$6,Clients!B:F,5,FALSE))))","v":"48000    Mende"}]
[]
[]
[null,null,"FACTURE N° :",11,"Date :",{"$f":"TODAY()","v":{"v":44526,"d":"4452600.00%"}}]
[null,null,{"$f":"COUNTIF(STOCK!$H:$H,\"COMMANDE\")+COUNTIF(STOCK!$H:$H,\"RUPTURE\")","v":0}]
[{"$nulls":9},0]
[null,null,"Code ","D é s i g n a t i o n","Qté","P.U","Montant",null,"STOCK APRES FACTURE"]
[null,null,"p 4",{"$f":"IF(C16=\"\",\"\",IF(ISNA(VLOOKUP(C16,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C16,STOCK!C:E,2,FALSE)))","v":"MANCHON À VISSER  (Tiemme)  Ø  20"},{"$f":"IF(C16=\"\",\"\",1)","v":{"v":1,"d":"1 "}},{"$f":"IF(C16=\"\",\"\",IF(ISNA(VLOOKUP(C16,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C16,STOCK!C:E,3,FALSE)))","v":{"v":750,"d":"750.00"}},{"$f":"IF(C16=\"\",\"\",IF(F16=\"Article inexistant !\",\"\",E16*F16))","v":{"v":750,"d":"750.00"}},null,{"$f":"IFERROR(VLOOKUP(C16,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E16,\"\")","v":{"v":619,"d":"619 "}}]
[{"$nulls":3},{"$f":"IF(C17=\"\",\"\",IF(ISNA(VLOOKUP(C17,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C17,STOCK!C:E,2,FALSE)))","v":""},{"$f":"IF(C17=\"\",\"\",1)","v":""},{"$f":"IF(C17=\"\",\"\",IF(ISNA(VLOOKUP(C17,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C17,STOCK!C:E,3,FALSE)))","v":""},{"$f":"IF(C17=\"\",\"\",IF(F17=\"Article inexistant !\",\"\",E17*F17))","v":""},null,{"$f":"IFERROR(VLOOKUP(C17,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E17,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C18=\"\",\"\",IF(ISNA(VLOOKUP(C18,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C18,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C18=\"\",\"\",IF(ISNA(VLOOKUP(C18,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C18,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C18,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E18,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C19=\"\",\"\",IF(ISNA(VLOOKUP(C19,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C19,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C19=\"\",\"\",IF(ISNA(VLOOKUP(C19,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C19,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C19,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E19,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C20=\"\",\"\",IF(ISNA(VLOOKUP(C20,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C20,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C20=\"\",\"\",IF(ISNA(VLOOKUP(C20,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C20,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C20,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E20,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C21=\"\",\"\",IF(ISNA(VLOOKUP(C21,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C21,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C21=\"\",\"\",IF(ISNA(VLOOKUP(C21,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C21,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C21,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E21,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C22=\"\",\"\",IF(ISNA(VLOOKUP(C22,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C22,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C22=\"\",\"\",IF(ISNA(VLOOKUP(C22,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C22,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C22,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E22,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C23=\"\",\"\",IF(ISNA(VLOOKUP(C23,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C23,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C23=\"\",\"\",IF(ISNA(VLOOKUP(C23,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C23,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C23,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E23,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C24=\"\",\"\",IF(ISNA(VLOOKUP(C24,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C24,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C24=\"\",\"\",IF(ISNA(VLOOKUP(C24,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C24,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C24,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E24,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C25=\"\",\"\",IF(ISNA(VLOOKUP(C25,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C25,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C25=\"\",\"\",IF(ISNA(VLOOKUP(C25,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C25,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C25,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E25,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C26=\"\",\"\",IF(ISNA(VLOOKUP(C26,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C26,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C26=\"\",\"\",IF(ISNA(VLOOKUP(C26,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C26,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C26,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E26,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C27=\"\",\"\",IF(ISNA(VLOOKUP(C27,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C27,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C27=\"\",\"\",IF(ISNA(VLOOKUP(C27,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C27,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C27,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E27,\"\")","v":""}]
[{"$nulls":4},"",{"$nulls":3},{"$f":"IFERROR(VLOOKUP(C28,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E28,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C29=\"\",\"\",IF(ISNA(VLOOKUP(C29,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C29,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C29=\"\",\"\",IF(ISNA(VLOOKUP(C29,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C29,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C29,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E29,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C30=\"\",\"\",IF(ISNA(VLOOKUP(C30,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C30,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C30=\"\",\"\",IF(ISNA(VLOOKUP(C30,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C30,STOCK!C:E,3,FALSE)))","v":""},{"$f":"IF(C30=\"\",\"\",IF(F30=\"Article inexistant !\",\"\",E30*F30))","v":""},null,{"$f":"IFERROR(VLOOKUP(C30,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E30,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C31=\"\",\"\",IF(ISNA(VLOOKUP(C31,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C31,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C31=\"\",\"\",IF(ISNA(VLOOKUP(C31,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C31,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C31,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E31,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C32=\"\",\"\",IF(ISNA(VLOOKUP(C32,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C32,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C32=\"\",\"\",IF(ISNA(VLOOKUP(C32,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C32,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C32,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E32,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C33=\"\",\"\",IF(ISNA(VLOOKUP(C33,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C33,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C33=\"\",\"\",IF(ISNA(VLOOKUP(C33,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C33,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C33,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E33,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C34=\"\",\"\",IF(ISNA(VLOOKUP(C34,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C34,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C34=\"\",\"\",IF(ISNA(VLOOKUP(C34,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C34,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C34,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E34,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C35=\"\",\"\",IF(ISNA(VLOOKUP(C35,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C35,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C35=\"\",\"\",IF(ISNA(VLOOKUP(C35,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C35,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C35,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E35,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C36=\"\",\"\",IF(ISNA(VLOOKUP(C36,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C36,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C36=\"\",\"\",IF(ISNA(VLOOKUP(C36,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C36,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C36,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E36,\"\")","v":""}]
[{"$nulls":3},{"$f":"IF(C37=\"\",\"\",IF(ISNA(VLOOKUP(C37,STOCK!C:E,2,FALSE)),\"Article inexistant !\",VLOOKUP(C37,STOCK!C:E,2,FALSE)))","v":""},"",{"$f":"IF(C37=\"\",\"\",IF(ISNA(VLOOKUP(C37,STOCK!C:E,3,FALSE)),\"Article inexistant !\",VLOOKUP(C37,STOCK!C:E,3,FALSE)))","v":""},"",null,{"$f":"IFERROR(VLOOKUP(C37,Tableau1[[Code ]:[P. Achat]],4,FALSE)-E37,\"\")","v":""}]
[{"$nulls":4},"TOTAL Marchandises  ",null,{"$f":"SUM(G16:G37)","v":{"v":750,"d":"750.00"}}]
[{"$nulls":4},{"$f":"IF(F39<>0,\"Remise \",\"\")","v":""},{"$f":"IF(G38<1200,0,IF(G38<2000,0.05,IF(G38<4000,0.07,IF(G38<7000,0.1,IF(G38<10000,0.12,0.15)))))","v":{"v":0,"d":"0.00% "}},{"$f":"IF(G38<1200,0,IF(G38<2000,0.05,IF(G38<4000,0.07,IF(G38<7000,0.1,IF(G38<10000,0.12,0.15)))))*G38","v":{"v":0,"d":"0.00"}}]
[{"$nulls":4},"TOTAL H.T. ",null,{"$f":"G38-G39","v":{"v":750,"d":"750.00"}}]
[]
[]
[{"$nulls":5},"TOTAL",{"$f":"IF(C16=\"\",\"\",G40+G41)","v":{"v":750,"d":"750.00"}}]
{"$rows_empty":9}
[{"$nulls":4},{"$f":"IF(C53=\"\",\"\",1)","v":""},{"$nulls":6},{"$f":"IF(J53=\"\",\"\",1)","v":""}]
[{"$nulls":4},{"$f":"IF(C54=\"\",\"\",1)","v":""},{"$nulls":6},{"$f":"IF(J54=\"\",\"\",1)","v":""}]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]
[{"$nulls":4},"",{"$nulls":6},""]

{"sheet":"Clients","index":2,"n_rows":19,"n_cols":15,"rows_kept":19}
[null,"Noms","Adresses1","Adresse2","CP","Villes","N° Téléphone","Mail"]
[null,"A"]
[null,"AGENCE ARREL","27, rue des Peupliers",null,48100,"Marvejols"]
[null,"Compagnie des Eaux","150, rue du Prado",null,34350,"Marseillan"]
[null,"DROUT Chantal Institut","76, rue St-Jean de Compostèlle",null,30900,"Nîmes"]
[null,"DUMAS SPORT","178, Bld du Port Royal","ZI les Clams",34047,"Villeneuve Lez Béziers"]
[null,"Ets DURAND","1, Cours Jean-Jaurès","Bâtiment B",34000,"Montpellier"]
[null,"Ets France TRANSPORT","44, Bld du Général de Gaulle",null,34500,"Béziers"]
[null,"GENERALE ELEC","10, Chemin des Lauriers","Le Clos du Parc n° B",30124,"Peyrolles"]
[null,"HYPER U","125, Bld Circulaire","ZAC La Prunette",11000,"Carcassonne",{"$nulls":8},{"$f":"COUNTIF(STOCK!$H:$H,\"COMMANDE\")","v":0}]
[null,"Info 3000","16, Bld Rabateau","1er Etage",34300,"Agde"]
[null,"NUMPHOTO","48, quai des Beaux",null,11210,"Port-La-Nouvelle"]
[null,"René Informatique","78, rue de Sandre",null,30128,"Garons"]
[null,"SARL COMPTOIR DU SUD","3, Bld Armand Fabre",null,11200,"Lézignan-Corbières",{"$nulls":8},{"$f":"COUNTIF(STOCK!$H:$H,\"RUPTURE\")","v":0}]
[null,"Sarl DEMANGO ","122, Chemin des Pierres Jaunes","Lieu-dit \"Les Arcades\"",30045,"Codognan","04 00 00 00 00","demango@sfr.fr"]
[null,"SNC TRIBOULET et FILS","32, rue du Mont Clair","1er Etage",48000,"Mende"]
[null,"Sté DUMONTEL","18, rue du Soldat Etienne","Immeuble \"Le Régent\" 3ème étage G",30220,"Aigues-Mortes"]
[null,"Sté Dupont and Co","12, rue de la République",null,34300,"Agde",{"$nulls":3},"Un tri par ordre alphabétique ce fait automatiquement"]
[null,"X-RAY PRODUCTION","47, rue du port","Bat. C ",11170,"Alzonne"]

{"sheet":"Récapitulatif factures","index":3,"n_rows":4,"n_cols":5,"rows_kept":4}
[]
[null,"DATE","N° FACTURE","NOM","MONTANT HT"]
[]
[null,{"v":44526,"d":"4452600.00%"},{"v":11,"d":"11 "},"SNC TRIBOULET et FILS",{"v":750,"d":"750.00"}]

{"sheet":"Tableau de bord","index":4,"n_rows":8,"n_cols":14,"rows_kept":8,"merged":[[7,2,7,5]]}
[]
[null,"Code    article","Désignation","Prix unitaire HT","Quantité","Seuil de commande",null,"Noms","Adresses1","Adresse2","CP","Villes","N° Téléphone","Mail"]
[]
[null,null,{"$f":"IFERROR(VLOOKUP(B3,Tableau1[[#All],[Code ]:[D é s i g n a t i o n]],2,FALSE),\"\")","v":""},{"$f":"IFERROR(VLOOKUP($B$3,Tableau1[[#All],[Code ]:[%]],3,FALSE),\"\")","v":""},null,{"$f":"IFERROR(VLOOKUP($B$3,Tableau1[[#All],[Code ]:[%]],5,FALSE),\"\")","v":""}]
[]
[]
[]
[null,null,"Là est le problème ! Ce tableau une fois rempli, en cliquant sur le bouton \"Entrée stock\" doit mettre à jour le stock. \nPour cela la macro doit d'abord regarder si il y a déjà le code article en stock et si oui mettre à jour seulement la quantité et si non, créer une ligne suppémentaire et y inscrire la totalité de cette ligne.",{"$nulls":6},"OK ! Cela fonction bien"]

{"sheet":"Adaptations","index":5,"n_rows":28,"n_cols":2,"rows_kept":28}
["Adaptations"]
[1,"Onglet Facture"]
[null,"Une colonne \" I \" a été créée pour tester si les ventes de la facture provoquent un (ou plusieurs) stock négatif.  Elle calcule :\n- ligne à ligne (I16 à I37)  le nouveau stock après validation de la facture\n-  en cellule I14 si oui ou non il y a des stocks négatifs (0 / nombre de stocks négatifs)\n- elle affiche un mesage d'alerte en cellules fusionnées I1:I13 si la cellule I14 contient >0 "]
[null,"Une colonne \" J \" a été créée pour tester si la facture a déjà été sauvegardée ou pas.\nLes cellules  :\n- I14 sera alimentée par la macro de sauvegarde de la facture (mise à 1) ou par la macro de \"Nouvelle facture\" (mise à 0) \n-  en cellule I14 si oui ou non il y a des stocks négatifs (0 / nombre de stocks négatifs)\n- elle affiche un mesage d'alerte en cellules fusionnées I1:I13 si la cellule I14 contient =1 "]
[null,"La mise en page de la facture a été adaptée naturellement pour éviter d'imprimer ces colonnes \"technique\".\nA propos de la Mise en page, il est inutile et même très mauvais de créer des lignes et des colonnes qui ne servent à rien (A ; B et  H et ligne 1 et 2 et 3) si c'est uniquement pour faire de la \"Mise en page\".  Il y a un puissant outil de Mise en page qui permet de faire tout cela et cela facilitera grandement la vie pour effectuer les tests et autres calculs.\nAu cas où un usage inconnu serait toutefois utile et aussi pour ne pas devoir refaire toutes une série de paramétrages, il a été laissé en place ces colonnes et lignes inutiles."]
[null,"La macro de sauvegarde de la facture (Save_facture) a été adaptée de la manière suivante:\n- la macro commence par tester si la facture provoque un ou plusieurs stock négatif (test de la cellule I14).  Si \"OUI\" elle enverra un message pour dire que la sauvegarde EST IMPOSSIBLE et la mactro s'arrêtera.\n- ensuite elle testera si la facture n'a pas déjà été sauvegardée (cellule J14).  Si \"OUI\" elle enverra un message pour dire que la sauvegarde EST IMPOSSIBLE et la mactro s'arrêtera.\n- les instructions de MAJ du stock ont été ajoutée\n- le positionnement du flag \"Facture sauvegardée) est positionné à 1\n- la macro a été fortement commentée pour en permettre la compréhension"]
[null,"La macro Nouvelle_Facture a été adaptée pour la MAJ du flag \"Facture sauvegardée\" . Celui-ci est positionné à 0"]
[null,"Les cellules F39 et G39 ont été rendues invisibles si le montant de la facure ne nécessite pas de remise (pour éviter les discussions oiseuses de client qui demanderait une remise s'il n'y ont pas droit).  Ceci est un avis personnele t peut facilement être enlevé si cela ne plait pas à l'utilisateur (voir Mise ne forme conditionnelle)"]
[null,"L'onglet a été protégé (SANS MOT DE PASSE) de manière à éviter les maladresses.  Seules les zones à modifier manuellement peuvent être accessibles.  Toutes les cellules contenant des formules sont donc protégées.  Si modification nécessaire : il suffit d'enlever la protection sous l'onglet Révision"]
[2,"Onglet Clients"]
[null,"Aucune adaptation.\nMAIS il serait, à mon avis, intérressant de munir les clients d'une référence unique (comme les articles).  En effet, il se pourrait que des clients se nomment de la même façon et rien ne permettrait de les distinguer.  C'est pourquoi il est fortement conseillé de numéroter les clients.  Notamment lorsqu'il sera nécessaire d'enregistrer les factures sous le bon compte client..."]
[3,"Onglet STOCK"]
[null,"L'onglet a été transformé en \"TABLEAU\" (voir onglet INSERTION / TABLEAU.\nCela a pour avantage que, lorsque l'on crée une ligne dans le tableau, les formules éventuelles contenues dans les autres lignes se mettent automatiquement en place dans la nouvelle ligne.  Il y a aussi d'autres avantages de traiter les données sous forme de tableau (voir commentaires de micosoft).  Enfin, puisque un des buts du jeu est d'apprendre, cela permet de montrer comment réagissent les formules en utilisant un tableau (remplacement des références des plages A1:A1000 par le nom des colonnes par exemple)"]
[null,"La mise en forme des colonnes a été adaptée également : il faut éviter de centrer les données : cela rend la lecture plus difficile.  On centre les titres mais pas les données.\nPar contre, pour éviter que les chiffres ne collent aux lignes des colonnes, il est facile de régler sous Format de cellule / Nombre / Personnalisé le type de format en ajoutant derière le type choisi \" \" un espace (ou deux) Voir exemple dans le classeur "]
[4,"Onglet Récapitulatif factures"]
[null,"Mise en forme adaptée"]
[5,"Tableau de bord"]
[null,"Entrée stock"]
[null,"Création d'une cellule C4 qui affichera la désignation de l'article si celui-ci existe dans le stock.  Sinon la cellule sera vide\nCréation d'une cellule D4 qui affichera le prix de l'article si celui-ci existe dans le stock.  Sinon la cellule sera vide\nCréation d'une cellule F4 qui affichera le seuil de l'article si celui-ci existe dans le stock.  Sinon la cellule sera vide"]
[null,"La macro entrée_stock a été créée.  Elle gère les entrées soit en mettant à jour le stock et les éléments qui changent soit elle créera un nouvel article.  La macro est fortement documentée pour une meilleure compréhension.  La macro a été \"accrochée\" au bouton \"Entrée stock\""]
[null,"Entrée client"]
[null,"La macro existante fonctionnant très bien, elle a été laissée en place"]
[null,"Pour permettre de comprendre les USERFORM, il a été créé une USERFORM qui gère aussi l'entrée d'un nouveau client.  On l'appelle en appuyant en même temps sur CTRL/MAJ/M.  Les explications pour la création d'un USERFORM sont très longues et peuvent difficilement être expliquée dans ce Forum.  Je conseille de :\n-lire la littérature dans l'aide d'Excel\n- consulter le site : "]
[null,"http://www.excel-pratique.com/fr/vba/userform.php"]
[null,"- acheter le livre \"Programmation VBA pour Excel 2007 (ou autre année) pour les Nuls\".  Il est très bien fait et me sert de livre de chevet…"]
[null,"Quand même en résumé :\n- il faut créer la boîte de dialogue en ajoutant un module \"USERFORM\"\n- il faut régler les paramètres de chaque contrôles (par exemple le nombre de caractères de la zone texte (ici j'ai mis 30 caractères pour toutes les zones sauf pour le cantion postal où j'ai mis 5 et le téléphone où j'ai mis 20)  J'ai aussi régle les paramètres de caractère (Calibri 11).  Il y a beaucoup d'autre paramètres si on veut s'amuser à colorier ou mettre des cadres etc.. mais je n'ai pas le temps à faire tout cela : à toi de t'amuser si tu le veux.\nCe qui est plus important, c'est queil faut créer le code VBA qui va gérer tout cela et cele se fait, en étant dans le VBA et dans la boîte de dialogue en appuyant sur F7 (pour revenir à la boîte il faut taper sur MAJ F7)  Le code s'affiche et tu verras ce que j'ai fait\nIl y a différentes routines qui ont été crées et il faut les compléter si nécessaire.  Il aut notamment gérer les 2 boutons  VALIDER et ANNULER et bien entendu l'affichage de la boîte."]
[null,"Voilà, j'en termine, comme je ne connais pas tes compétences, il vaut mieux que tu me poses les  questions nécessaires à ta compréhension.  Je pense que j'ai réalisé tout ce que tu demandais"]
[null,"Bon courage !"]