ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Unique count in access (https://www.excelbanter.com/excel-worksheet-functions/246708-unique-count-access.html)

Carrie

Unique count in access
 
Is there a way to do a unique count in Access? For instance if I have the
following loads in a table:
236592
236592
2010968
2010951
I can use the Count(*) function but I will get 4 lds. I want to get 3 loads.
Appreciate any help.
Thanks,
Carrie

Luke M

Unique count in access
 
You might get more help by posting this question in the Access forum, as
opposed to this one (the Excel forum).
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"carrie" wrote:

Is there a way to do a unique count in Access? For instance if I have the
following loads in a table:
236592
236592
2010968
2010951
I can use the Count(*) function but I will get 4 lds. I want to get 3 loads.
Appreciate any help.
Thanks,
Carrie


Jacob Skaria

Unique count in access
 
Use the SQL query..

select distinct(id) from table1;

If this post helps click Yes
---------------
Jacob Skaria


"carrie" wrote:

Is there a way to do a unique count in Access? For instance if I have the
following loads in a table:
236592
236592
2010968
2010951
I can use the Count(*) function but I will get 4 lds. I want to get 3 loads.
Appreciate any help.
Thanks,
Carrie


Ashish Mathur[_2_]

Unique count in access
 
Hi,

Use this

select count(uniquesa) as "Distinct values" from
(
select distinct numbers as [uniquesa] from <your table
)

Numbers is the column heading.

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"carrie" wrote in message
...
Is there a way to do a unique count in Access? For instance if I have the
following loads in a table:
236592
236592
2010968
2010951
I can use the Count(*) function but I will get 4 lds. I want to get 3
loads.
Appreciate any help.
Thanks,
Carrie




All times are GMT +1. The time now is 02:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com