LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Counting Values and only returning one...

In a table, I have a field which may contain duplicate entries (dups only in
the field, not row dups).

I need a query that will return only one record of each entry in this field,
as well as in a separate field, a count of how many were in the orginial
table.

i.e. if the value 06A34965 appeared three times in table 1, I want the query
to return just one row wiht 06A34965 with a count of 3. It does not matter
which of the 3 rows the query returns.

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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



All times are GMT +1. The time now is 11:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"