#1   Report Post  
Happy
 
Posts: n/a
Default Unique Records

I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks


  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Take a look at Debra Dalgleish's site:
http://www.contextures.com/xladvfilter01.html#FilterUR

Happy wrote:

I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks


--

Dave Peterson
  #3   Report Post  
Ray A
 
Posts: n/a
Default

HTH
See datafilteradvanced filter
ray

"Happy" wrote:

I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks



  #4   Report Post  
Max
 
Posts: n/a
Default

One way to try ..

Assume the table below is in Sheet1,
cols A to C, data from row2 down

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834


Using an empty col to the right, say col D

Put in D2:
=IF(C2="","",IF(COUNTIF($C$2:C2,C2)1,"",ROW()))

Copy D2 down to say, D100 to cover the max expected data in the table
(can copy down ahead of data input)

In Sheet2
-----
With the same headers in A1:C1, i.e.:
Name Tel Fax


Put in A2:
=IF(ISERROR(SMALL(Sheet1!$D:$D,ROWS($A$1:A1))),"", INDEX(Sheet1!A:A,MATCH(SMA
LL(Sheet1!$D:$D,ROWS($A$1:A1)),Sheet1!$D:$D,0)))

Copy A2 across to C2, fill down to C100
(cover the same range size as in col D in Sheet1)

For the sample table in Sheet1, you'd get the desired results, viz.:

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

(blank rows below)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Happy" wrote in message
...
I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks




  #5   Report Post  
Happy
 
Posts: n/a
Default

I tried the Advanced Filter, still didn't work.
Every records is copied into the new location.
I guess this is becos every record is unique as Col A has different names.
So, how to specify that I want Col C to be unique??

Thks



"Happy" wrote in message
...
I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks





  #6   Report Post  
Domenic
 
Posts: n/a
Default

Assuming that A1:C9 contains your data, including your headers/labels,
try the following...

D1: Leave blank

D2: =COUNTIF($C$2:C2,C2)=1

Data Filter Advanced Filter

List range: Sheet1!$A$1:$C$9

Criteria range: $D$1:$D$2

Click Ok

Hope this helps!

In article ,
"Happy" wrote:

I tried the Advanced Filter, still didn't work.
Every records is copied into the new location.
I guess this is becos every record is unique as Col A has different names.
So, how to specify that I want Col C to be unique??

Thks



"Happy" wrote in message
...
I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks

  #7   Report Post  
Dave Peterson
 
Posts: n/a
Default

Try selecting column C first. Then the data|filter|advanced filter will be
pre-populated with the correct range--that single column.



Happy wrote:

I tried the Advanced Filter, still didn't work.
Every records is copied into the new location.
I guess this is becos every record is unique as Col A has different names.
So, how to specify that I want Col C to be unique??

Thks

"Happy" wrote in message
...
I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks


--

Dave Peterson
  #8   Report Post  
olasa
 
Posts: n/a
Default


Simple
1. Use the Advanced filter on the Fax column Only Copy to another
location, to get a New list
2. Cut and Paste the Fax column so that it comes first in your Original
list
3. Then use VLOOKUP to transfere Name and Tel from the Original list to
the New list.
Done

Hope it helped
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=390267

  #9   Report Post  
Dave Peterson
 
Posts: n/a
Default

Or just copy paste all the visible cells in that range. (and drop #2 and #3).

olasa wrote:

Simple
1. Use the Advanced filter on the Fax column Only Copy to another
location, to get a New list
2. Cut and Paste the Fax column so that it comes first in your Original
list
3. Then use VLOOKUP to transfere Name and Tel from the Original list to
the New list.
Done

Hope it helped
Ola Sandström

--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=390267


--

Dave Peterson
  #10   Report Post  
Happy
 
Posts: n/a
Default

Hi Domenic

Fantastic. it's done beautfully. Thanks. :-)


"Domenic" wrote in message
...
Assuming that A1:C9 contains your data, including your headers/labels,
try the following...

D1: Leave blank

D2: =COUNTIF($C$2:C2,C2)=1

Data Filter Advanced Filter

List range: Sheet1!$A$1:$C$9

Criteria range: $D$1:$D$2

Click Ok

Hope this helps!

In article ,
"Happy" wrote:

I tried the Advanced Filter, still didn't work.
Every records is copied into the new location.
I guess this is becos every record is unique as Col A has different
names.
So, how to specify that I want Col C to be unique??

Thks



"Happy" wrote in message
...
I have 3 columns

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Coo 99094890 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Goo 43984093 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

How can I make it like this? (ie remove subsequent same fax numbers)

Name Tel Fax
Ang 93830220 99329207
Boo 93309374 98403803
Doo 84958948 38490384
Foo 74937489 09389099
Hoo 98983490 98439849
Koo 09439489 74837834

Thks



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
filtering for unique records KG Excel Discussion (Misc queries) 7 August 13th 05 06:07 PM
Deleting specific records [email protected] Excel Discussion (Misc queries) 6 June 22nd 05 11:35 PM
Counting Unique Records with multiple conditions Keithlearn Excel Worksheet Functions 4 April 27th 05 12:44 AM
Inconsistent Results: Advanced Filter Unique Records Only KB Excel Discussion (Misc queries) 1 March 25th 05 02:34 PM
Finding unique records from a list. Shanks Excel Discussion (Misc queries) 4 February 24th 05 10:01 AM


All times are GMT +1. The time now is 07:44 AM.

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"