No Title
Beppignello Se usi lo stesso criterio di M.Ulivi di cui al ''foglio2'' e cioè elaborare tutti i 900 o 990 numeri per verificare il maggior ritardo e la minor frequenza senza curarsi della ruota, al fine di stilare una graduatoria finale sommando la posizione del maggior ritardo con la minor frequenza, credo ci sia qualcosa che non va. All'estrazione 9229 dovrebbe risultare la classifica della foto1, mentre dallo script esce fuori la classifica di cui alla foto 2. Dato che le foto sono illeggibili provo a fare un copia/incolla della foto 1 [TABLE="border: 0, cellpadding: 0, cellspacing: 0"]
[TR]
[TD="width: 33"]Posiz[/TD]
[TD="width: 26, align: right"]Ruota[/TD]
[TD="width: 28, align: right"]N.[/TD]
[TD="width: 33, align: right"]Rit.[/TD]
[TD="width: 36, align: right"]Freq.[/TD]
[TD="width: 36, align: right"]Pos.Fr[/TD]
[TD="width: 36, align: right"]Pos
Rit.[/TD]
[TD="width: 70"]Somma Posiz[/TD]
[TD="width: 67"]Aspettabilità[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]RM[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]254[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD]:15[/TD]
[TD]0,9585892[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]PA[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]250[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]30[/TD]
[TD]:32[/TD]
[TD]0,9546620[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]VE[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]73[/TD]
[TD="align: right"]261[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]16[/TD]
[TD]:38[/TD]
[TD]0,9531931[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]VE[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]262[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]17[/TD]
[TD]:43[/TD]
[TD]0,9519345[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]MI[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]76[/TD]
[TD="align: right"]264[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]14[/TD]
[TD]:50[/TD]
[TD]0,9501184[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]PA[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]260[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]62[/TD]
[TD]:80[/TD]
[TD]0,9415746[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]CA[/TD]
[TD="align: right"]34[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]54[/TD]
[TD]:83[/TD]
[TD]0,9406484[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]NA[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]265[/TD]
[TD="align: right"]42[/TD]
[TD="align: right"]47[/TD]
[TD]:89[/TD]
[TD]0,9387545[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]CA[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]89[/TD]
[TD="align: right"]271[/TD]
[TD="align: right"]86[/TD]
[TD="align: right"]6[/TD]
[TD]:92[/TD]
[TD]0,9377865[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]CA[/TD]
[TD="align: right"]33[/TD]
[TD="align: right"]41[/TD]
[TD="align: right"]249[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]92[/TD]
[TD]:93[/TD]
[TD]0,9374607[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]TO[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]270[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]26[/TD]
[TD]:101[/TD]
[TD]0,9347962[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]TO[/TD]
[TD="align: right"]69[/TD]
[TD="align: right"]92[/TD]
[TD="align: right"]274[/TD]
[TD="align: right"]122[/TD]
[TD="align: right"]4[/TD]
[TD]:126[/TD]
[TD]0,9257753[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]BA[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]84[/TD]
[TD="align: right"]274[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]7[/TD]
[TD]:130[/TD]
[TD]0,9242294[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]GE[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]41[/TD]
[TD="align: right"]265[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]93[/TD]
[TD]:136[/TD]
[TD]0,9218552[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]RM[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]271[/TD]
[TD="align: right"]87[/TD]
[TD="align: right"]50[/TD]
[TD]:137[/TD]
[TD]0,9591210[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]VE[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]260[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]118[/TD]
[TD]:137[/TD]
[TD]0,9591210[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]BA[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]265[/TD]
[TD="align: right"]44[/TD]
[TD="align: right"]102[/TD]
[TD]:146[/TD]
[TD]0,9177464[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]PA[/TD]
[TD="align: right"]84[/TD]
[TD="align: right"]37[/TD]
[TD="align: right"]264[/TD]
[TD="align: right"]37[/TD]
[TD="align: right"]111[/TD]
[TD]:148[/TD]
[TD]0,9169014[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]RM[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]57[/TD]
[TD="align: right"]273[/TD]
[TD="align: right"]111[/TD]
[TD="align: right"]38[/TD]
[TD]:149[/TD]
[TD]0,9164759[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]PA[/TD]
[TD="align: right"]69[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]269[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]96[/TD]
[TD]:166[/TD]
[TD]0,9089344[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]FI[/TD]
[TD="align: right"]41[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]277[/TD]
[TD="align: right"]161[/TD]
[TD="align: right"]9[/TD]
[TD]:170[/TD]
[TD]0,9512724[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]MI[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]265[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]125[/TD]
[TD]:170[/TD]
[TD]0,9512724[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]TO[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]37[/TD]
[TD="align: right"]268[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]112[/TD]
[TD]:172[/TD]
[TD]0,9061295[/TD]
[/TR]
[TR]
[TD]24[/TD]
[TD]BA[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]277[/TD]
[TD="align: right"]162[/TD]
[TD="align: right"]11[/TD]
[TD]:173[/TD]
[TD]0,9056546[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]TO[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]272[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]74[/TD]
[TD]:175[/TD]
[TD]0,9046983[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]CA[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]57[/TD]
[TD="align: right"]276[/TD]
[TD="align: right"]143[/TD]
[TD="align: right"]39[/TD]
[TD]:182[/TD]
[TD]0,9012825[/TD]
[/TR]
[/TABLE]
e il copia/incolla dello script
Graduatoria Per Ritardo.... Grad Ru Nr Rit Fre Graduatoria Per Frequenza... Grad Ru Nr Rit Fre Grad.pos..001 Somma..0022....Comb...FI..64 Grad.pos..002 Somma..0032....Comb...PA..12 Grad.pos..003 Somma..0034....Comb...FI..75 Grad.pos..004 Somma..0038....Comb...RO..86 Grad.pos..005 Somma..0045....Comb...MI..16 Grad.pos..006 Somma..0056....Comb...MI..83 Grad.pos..007 Somma..0058....Comb...TO..80 Grad.pos..008 Somma..0077....Comb...FI..79 Grad.pos..009 Somma..0080....Comb...FI..31 Grad.pos..010 Somma..0084....Comb...VE..53 Grad.pos..011 Somma..0096....Comb...MI..37 Grad.pos..012 Somma..0098....Comb...FI..44 Grad.pos..013 Somma..0102....Comb...RO..05 Grad.pos..014 Somma..0109....Comb...BA..40 Grad.pos..015 Somma..0120....Comb...TO..47 Grad.pos..016 Somma..0133....Comb...PA..30 Grad.pos..017 Somma..0137....Comb...VE..07 Grad.pos..018 Somma..0154....Comb...TO..09 Grad.pos..019 Somma..0155....Comb...VE..57 Grad.pos..020 Somma..0157....Comb...RO..79 Grad.pos..021 Somma..0158....Comb...BA..88 Grad.pos..022 Somma..0159....Comb...MI..88 Grad.pos..023 Somma..0162....Comb...FI..50 Grad.pos..024 Somma..0176....Comb...TO..48 Grad.pos..025 Somma..0177....Comb...NA..08 Grad.pos..026 Somma..0184....Comb...MI..79 Grad.pos..027 Somma..0190....Comb...FI..23 Grad.pos..028 Somma..0192....Comb...NA..30 rinuncio, non riesco ad incolonnare questo script che comunque potete verificare mandandolo in esecuzione.