ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Count Unique Records (https://www.excelbanter.com/new-users-excel/195957-count-unique-records.html)

CTAY

Count Unique Records
 
How can I count the number of stores per region?

Store # City
1 Houston
1 Houston
1 Houston
4 Dallas
4 Dallas

I want to see the results of Houston = 3 and Dallas = 2

Gary''s Student

Count Unique Records
 
=COUNTIF(B:B,"Houston")
=COUNTIF(B:B,"Dallas")

--
Gary''s Student - gsnu200796


"CTAY" wrote:

How can I count the number of stores per region?

Store # City
1 Houston
1 Houston
1 Houston
4 Dallas
4 Dallas

I want to see the results of Houston = 3 and Dallas = 2


gls858

Count Unique Records
 
CTAY wrote:
How can I count the number of stores per region?

Store # City


I want to see the results of Houston = 3 and Dallas = 2


another method would be to sort by store# or city and then use the
subtotal function and select count. The result would be something
like this

1 Houston
1 Houston
1 Houston
Houston Total 3
4 Dallas
4 Dallas
Dallas Total 2

gls858

M Kan

Count Unique Records
 
You could also generate a pivot table. If you use shortcuts, you can
generate this in less than 15 seconds
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"gls858" wrote:

CTAY wrote:
How can I count the number of stores per region?

Store # City


I want to see the results of Houston = 3 and Dallas = 2


another method would be to sort by store# or city and then use the
subtotal function and select count. The result would be something
like this

1 Houston
1 Houston
1 Houston
Houston Total 3
4 Dallas
4 Dallas
Dallas Total 2

gls858



All times are GMT +1. The time now is 04:32 PM.

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