PC Review


Reply
Thread Tools Rate Thread

How can I tally duplicate values (tally names) within a table..

 
 
=?Utf-8?B?SmE=?=
Guest
Posts: n/a
 
      2nd May 2006
I import a list of records and wish to tally the number of occurrences for
each imported name...I believe there is a way to collapse all of the
duplicate entries and tally them.
In other words I import a large number of items and wish to see a breakout
report of each item and the number of instances????

Any assistance would be much appreciated.
 
Reply With Quote
 
 
 
 
Phil
Guest
Posts: n/a
 
      2nd May 2006
Put the Name field on the query grid twice. Hit the SUM button to make
it a summing query.
For the first field, set the totals box to "GOUP BY", and sort ascending.
For the Second field, set totals to COUNT.







Ja wrote:

> I import a list of records and wish to tally the number of occurrences for
> each imported name...I believe there is a way to collapse all of the
> duplicate entries and tally them.
> In other words I import a large number of items and wish to see a breakout
> report of each item and the number of instances????
>
> Any assistance would be much appreciated.

 
Reply With Quote
 
=?Utf-8?B?JzY5IENhbWFybw==?=
Guest
Posts: n/a
 
      2nd May 2006
Hi.

> I import a large number of items and wish to see a breakout
> report of each item and the number of instances?


Try:

SELECT ItemName, COUNT(ItemName) AS NumItems
FROM MyTable
GROUP BY ItemName;

.. . . where ItemName is the name of your field, NumItems is the number of
occurrences, and MyTable is the name of the table.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact info.


"Ja" wrote:

> I import a list of records and wish to tally the number of occurrences for
> each imported name...I believe there is a way to collapse all of the
> duplicate entries and tally them.
> In other words I import a large number of items and wish to see a breakout
> report of each item and the number of instances????
>
> Any assistance would be much appreciated.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tally a set of values according to month? =?Utf-8?B?Z2xpdHRlcmplbg==?= Microsoft Excel Misc 3 16th Apr 2010 06:31 AM
how does one tally numbers as in word xp. ie tally above =?Utf-8?B?ZGF2ZTA=?= Microsoft Word New Users 1 23rd Jun 2006 04:53 AM
create tally sheet for positions- insert names and tally # =?Utf-8?B?dGFsbHkgc2hlZXRz?= Microsoft Excel Misc 0 11th Apr 2006 09:41 PM
Is there a way to tally 3 different values in one column? =?Utf-8?B?QW5heXJheQ==?= Microsoft Excel Misc 4 28th Feb 2006 02:49 PM
Re: sum formula does not tally all values in column Ron Rosenfeld Microsoft Excel Misc 0 19th Aug 2004 07:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:08 AM.