Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default delete duplicate values - leaving unique records only i.e. recordspresent once only

hiya,

i see lots of posts resolving the following:-

a
a
b
c
d
d
e

to

a
b
c
d
e

however what i want to do is take a column and turn

a
a
b
c
d
d
e

into

b
c
e

i.e showing me data that is present once only...

any ideas how i do this? excel 2007

many thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default delete duplicate values - leaving unique records only i.e. records

Say we have in A1 thru A20:

a
a
b
c
d
d
e
f
g
g
g
h
h
i
j
j
j
k
l
l

In B1 enter:
=IF(COUNTIF(A:A,A1)=1,1,"")

In B2 enter:
=IF(COUNTIF(A:A,A2)=1,MAX(B$1:B1)+1,"") and copy down

We see:

a
a
b 1
c 2
d
d
e 3
f 4
g
g
g
h
h
i 5
j
j
j
k 6
l
l

Each of the required rows has been asigned a unique number. Finally in C1
enter:

=IF(MAX(B:B)<ROW(),"",OFFSET($A$1,MATCH(ROW(),B:B) ,0)) and copy down

We now see:

a c
a d
b 1 f
c 2 g
d j
d l
e 3
f 4
g
g
g
h
h
i 5
j
j
j
k 6
l
l

Only those items appearing once appear in column C
--
Gary''s Student - gsnu2007k


"Jonny Ross" wrote:

hiya,

i see lots of posts resolving the following:-

a
a
b
c
d
d
e

to

a
b
c
d
e

however what i want to do is take a column and turn

a
a
b
c
d
d
e

into

b
c
e

i.e showing me data that is present once only...

any ideas how i do this? excel 2007

many thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default delete duplicate values - leaving unique records only i.e.records present once only

Excel 2007
Filter on count of one.
No formulas or code or helper column was used.
Many other built-in criteria are available.
http://www.mediafire.com/file/jzyzhziywhy/01_10_09.xlsx
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default delete duplicate values - leaving unique records only i.e. records

Hi,

The second suggestion requires a formula to do the count.

If you are using Excel 2007, you can highlight the duplicated (leaving the
uniques unhighlighted) by highlighting the range and choosing Home,
Conditional Formatting, Highlight Cell Rules, Duplicate Values. ( a new
command in 2007)

And if you want to use a formula
=IF(COUNTIF(A$1:A$13,A1)=1,A1,"")

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Jonny Ross" wrote:

hiya,

i see lots of posts resolving the following:-

a
a
b
c
d
d
e

to

a
b
c
d
e

however what i want to do is take a column and turn

a
a
b
c
d
d
e

into

b
c
e

i.e showing me data that is present once only...

any ideas how i do this? excel 2007

many thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default delete duplicate values - leaving unique records only i.e. records present once only

Hi,

You can also try the folliwing. First of all, please ensure that you have a
suitable heading for the range (it is a good practise to do so). Therefore,
assume that the data below is in range B3:B9. In B2, type numbers.

Now in cell B13, type the following formula =countif($B$2:$B$9,B3)=1. In
cell B12, type Criteria. Now perform the following steps:

1. Go to Data Sort and Filter Advanced.
2. Click on the "Copy to another location"
3. In the list range, select B2:B9
4. In criteria range, type B12:B13
5. In the copy to box, select any blank cell.

Hope this helps.



--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Jonny Ross" wrote in message
...
hiya,

i see lots of posts resolving the following:-

a
a
b
c
d
d
e

to

a
b
c
d
e

however what i want to do is take a column and turn

a
a
b
c
d
d
e

into

b
c
e

i.e showing me data that is present once only...

any ideas how i do this? excel 2007

many thanks


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
How can I delete redundant records in Excel without then leaving b GRE Excel Discussion (Misc queries) 1 January 9th 09 11:04 PM
Display only duplicate values and delete UNIQUE Items WYMMIY Excel Discussion (Misc queries) 2 August 25th 08 12:50 PM
delete a duplicate in column while leaving other duplicates daphoenix Excel Worksheet Functions 1 June 25th 08 04:15 PM
How to delete values in each row leaving only last value ? Oleg Excel Discussion (Misc queries) 1 March 10th 06 07:17 PM
In column A I have duplicate records. How do I tag an unique reco. Tian Excel Discussion (Misc queries) 2 January 13th 05 07:37 PM


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