Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,058
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 209
Default 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
  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 169
Default 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

Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot count unique records only Deborah Excel Discussion (Misc queries) 0 July 8th 08 01:52 PM
Unique Records Count with AutoFilter Danni2004 Excel Worksheet Functions 1 May 16th 08 09:56 PM
Count Unique Records Jon Dow[_2_] Excel Worksheet Functions 4 February 26th 07 05:28 AM
Count unique records... with a twist... Need help! [email protected] Excel Worksheet Functions 4 August 3rd 06 06:17 PM
Count the number of unique records [email protected] Excel Worksheet Functions 7 March 8th 06 07:33 AM


All times are GMT +1. The time now is 11:56 PM.

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

About Us

"It's about Microsoft Excel"