Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
darkwood
 
Posts: n/a
Default zip code and +4 duplicates


I have a request for a file with the total number of accounts that we
have in a certain zip code. Problem is that my system lists 46060 and
46060-1234 as 2 separate zips. So I removed the +4 but I am left with
duplicates for many zips because of the +4. What is the easiest way to
sum up each zip code and add together all of the ones that have
duplicate values and return one total at the first instance of that
particular zip (sorted by zip 00000-99999)? That way I can then go
back and delete all of the dup entries and provide one total for each
unique zip code.

Thanks in advance,

-Scott


--
darkwood
------------------------------------------------------------------------
darkwood's Profile: http://www.excelforum.com/member.php...o&userid=29948
View this thread: http://www.excelforum.com/showthread...hreadid=530734

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default zip code and +4 duplicates

On Thu, 6 Apr 2006 16:46:58 -0500, darkwood
wrote:


I have a request for a file with the total number of accounts that we
have in a certain zip code. Problem is that my system lists 46060 and
46060-1234 as 2 separate zips. So I removed the +4 but I am left with
duplicates for many zips because of the +4. What is the easiest way to
sum up each zip code and add together all of the ones that have
duplicate values and return one total at the first instance of that
particular zip (sorted by zip 00000-99999)? That way I can then go
back and delete all of the dup entries and provide one total for each
unique zip code.

Thanks in advance,

-Scott


Sort your column of 5 digit zips; then use the Data/Subtotals wizard to pull
out what your looking for.

Or you might be able to use a pivot table.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
darkwood
 
Posts: n/a
Default zip code and +4 duplicates


The pivot table worked perfectly.

Thanks!


--
darkwood
------------------------------------------------------------------------
darkwood's Profile: http://www.excelforum.com/member.php...o&userid=29948
View this thread: http://www.excelforum.com/showthread...hreadid=530734

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default zip code and +4 duplicates

On Fri, 7 Apr 2006 11:43:54 -0500, darkwood
wrote:


The pivot table worked perfectly.

Thanks!


Glad to help. Thanks for the feedback.
--ron
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
Complicated If Then / V Lookup / Match Statement... ryesworld Excel Worksheet Functions 17 December 10th 05 02:09 PM
Need 2 add second then third code with first code in the Tab View nick s Excel Worksheet Functions 3 December 6th 05 02:20 AM
Duplicates in column browie Excel Discussion (Misc queries) 5 August 21st 05 11:50 PM
Conform a total to a list of results? xmaveric Excel Discussion (Misc queries) 1 August 21st 05 07:22 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM


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