Article View: free.it.visual-basic
Article #1861Re: VBA e Excel
From: Cerberus1981
Date: Mon, 12 Jan 2004 22:10
Date: Mon, 12 Jan 2004 22:10
53 lines
2818 bytes
2818 bytes
Secondo me in ACCESS con un GroupBy si risolve senza problemi. Cerberus "Zax" <zzzzz@zzz.com> ha scritto nel messaggio news:jDcIb.216373$vO5.8846571@twister1.libero.it... > In Excel ho una routine che va a fare una serie di operazioni attraverso i > dati inseriti nelle prime due colonne restituendomi un elenco come da > esempio. > > Ho questa necessit� di raggruppare e contare con un a routine VBA i dati > simili e restituirli sul foglio Excel. > Mi potreste dare una mano per scrivere la routine cosi la integro nella mia? > > > ESEMPIO: immaginiamo di avere per colonna l'elenco sottostante: > > > D E F G H > ecc.. > 200 6300 3600 1500 1200 > 200 6300 3600 1500 1200 > 200 6300 3600 1500 1200 > 300 6200 3600 1500 1100 > > > Vorrei che dopo il lancio della routine il risultato fosse: > > C D E F G H > ecc.. > 3 200 6300 3600 1500 1200 > 1 300 6200 3600 1500 1100 > > Nella colonna C sono indicate le quantit� delle celle che in orizzontale > contengono dati simili. > > Cos� si guadagna in leggibilit� e il lunghezza del foglio e inoltre so + > velocemente quanti valori simili ci sono. Le colonne potrebbero essere > teoricamente infinite (anche se un controllo su 50 colonne dovrebbe essere > sufficiente). > > > > > Grazie per chiunque voglia aiutarmi. > > P.S. Ho provato con il filtro avanzato di excel ma ho sempre il problema di > sapere le quantit� delle celle in orizzontale che hanno i valori simili. > > >
Technical Details
Message-ID:
<sXEMb.80276$VW.3352027@news3.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mailReferences:
<jDcIb.216373$vO5.8846571@twister1.libero.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,1c42c8066616632a X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2004-01-12 14:10:33 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail From: "Cerberus1981" <cerberus1981@tin.it> Newsgroups: free.it.visual-basic References: <jDcIb.216373$vO5.8846571@twister1.libero.it> Subject: Re: VBA e Excel Lines: 55 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <sXEMb.80276$VW.3352027@news3.tin.it> Date: Mon, 12 Jan 2004 22:10:32 GMT NNTP-Posting-Host: 80.117.224.185 X-Complaints-To: newsmaster@tin.it X-Trace: news3.tin.it 1073945432 80.117.224.185 (Mon, 12 Jan 2004 23:10:32 MET) NNTP-Posting-Date: Mon, 12 Jan 2004 23:10:32 MET Organization: TIN