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: 14
Default do i use countif?

Am using Excel 2003. I am trying to count the number of zip codes in a
column. I have already copied and pasted the zip codes into a separate sheet
in my workbook. I need to know how many 12345 zips, how many 12346 zips,
etc. So I want something like this as a result:

12345 2
12346 1
12347 3
12354 22

What I don't want is something like this:

12345 2
12345 2
12346 1
12347 3
12347 3
12347 3
(this is assuming that the list on the left is my original list of zip codes)

So, I need something to display the zips in one column (not necessarily the
original data column) and then the count of each occurance of the zip code.
I am trying to make a report to use with a bulk mailing. I keep thinking
that it's a countif statement, but I'm not having any luck. When I try a
pivot table (granted, I've only done a pivot table successfully on one other
project and it was a sum, so I could easily be doing this incorrectly) I only
get a count of all the zip codes in my column.
However, if all I can get is a count like in my example (whether with a
countif or with a pivot or with a nested statement), I can work with it.

Thanks in advance for any help.
 
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
Using COUNTIF and NOW() together Jock Excel Worksheet Functions 4 June 21st 07 03:20 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 09:46 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"