Separate Unique Totals

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Excel 2000
----------

I have seen this question asked before but am unable to
search for it as I am not sure how it is worded.

I have a list (spreadsheet of course) of addresses. I
would like to be able to know totals of how many address
are in each zip code. Does Excel have this function
included or is there a macro available to do this?

Thanks for any assistance anyone can provide.

Michael
 
You can sort your data and then do Data|subtotals
Or you could use data|pivottable to create a nice summary.
 
Put the following syntax in the cell if the zip code in column D and
copy the same till you want. this will show u each zip code with the
totals.

=IF(COUNTIF(D:D,D2)>1,COUNTIF(D:D,D2)&"("&D2&")"," ")

Regards,
Selvarathinam.
 
Use a Pivot table and you won't have to create a single formula. Assuming
your data is in database format, and it sounds like it is, then select all
your data and do Data / Pivot table and chart report, then hit Next / Next /
Finish

Now drag the Zip code field into the space marked ROW fields, and then drag
it again into the area marked DATA

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------­------------------------------­----------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top