LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Biff
 
Posts: n/a
Default

Hi!

You said that there should be no empty cells in my range A. I
am trying to leave enough room to add new records and have the formula
automatically pick up the new zip


There should be no empty cells WITHIN the range:

A1 = 12345
A2 = 54321
A3 =
A4 =
A5 = 23456
A6 = 65432

Biff

"JohnGuts" wrote in message
...
Thanks for the quick response. If my list of zip codes in in A1:A100, and
I
add a new zip code in A101, will I have to change the formula to
incorporate
the new cell? You said that there should be no empty cells in my range A.
I
am trying to leave enough room to add new records and have the formula
automatically pick up the new zip. Thanks!

John

"Biff" wrote:

Hi!

Here's a way to do this dynamically....

Create a dynamic named range for the zip codes in column A.

Assume the codes are in the range A1:An

Cell B1 must be empty.

To extract the unique codes in B2 on down, enter this formula using the
key
combo of CTRL,SHIF,ENTER:

=IF(ISERROR(INDEX(rng,MATCH(0,INDEX(COUNTIF(B$1:B1 ,rng),,1),0))),"",INDEX(rng,MATCH(0,INDEX(COUNTIF( B$1:B1,rng),,1),0)))

Copy down to enough cells so that when you enter new unique codes they
will
be "picked up" by the formula in column B.

Rng is the dynamic named range for the codes in column A.

All of this is contingent on the fact that there will be no empty cells
within the range of codes in column A.

Want to see a sample file with this implemented? Let me know how to
contact
you.

Biff

"JohnGuts" wrote in message
...
If I have a list (Column) of zip codes in column A that range from
68116
to
68184, and there are multiple entries for each zip code. I would like
Column
B to look through the list and create a new list that takes out the
duplicate
entries. Any ideas how I can do this? I want to be able to add new
zip
codes to the list, and have the new list automatically update. Thanks
for
any help. JohnGuts






 
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
Removing a list of data from a larger one bryanw Excel Discussion (Misc queries) 1 June 14th 05 12:58 AM
How to remove duplicates from a list and copy new list to new colu Chance Excel Worksheet Functions 2 April 23rd 05 05:21 AM
Transfer Items to a list with no duplicates [email protected] Excel Worksheet Functions 1 March 30th 05 10:30 PM
How do I find duplicates in a list JimNC Excel Discussion (Misc queries) 1 February 6th 05 08:40 PM
Counting Repeated text or duplicates in a list Repeatdude Excel Discussion (Misc queries) 5 November 26th 04 07:10 PM


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