Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default how to remove duplicates ONLY within the same category

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default how to remove duplicates ONLY within the same category

Use Advance Filter to show only unique records.

Data menu - Filter - Advance Filter - Select range data and also check
"Unique records only"

And if you want to copy filtered data to another location then specify
location.

Hope this helps !!


"Landa" wrote:

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default how to remove duplicates ONLY within the same category

Hi Himani,
Thanks a lot for your suggestion!
I have tried this method before but while it can filter out the duplicate
for "hair hair restoration", it will also filter "hair hair care".
However, I want to filter duplicate within the same category only. If the
duplicate appears in another category, I want to retain it.
Is there a way to do it?
Thanks!
Landa



"Himani" wrote:

Use Advance Filter to show only unique records.

Data menu - Filter - Advance Filter - Select range data and also check
"Unique records only"

And if you want to copy filtered data to another location then specify
location.

Hope this helps !!


"Landa" wrote:

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default how to remove duplicates ONLY within the same category

Hi
First, you have to put them in the same cell using A1&b1 into a column. Then
use advanced filters. The split the column using data-text to columns.
G.

"Landa" wrote:

Hi Himani,
Thanks a lot for your suggestion!
I have tried this method before but while it can filter out the duplicate
for "hair hair restoration", it will also filter "hair hair care".
However, I want to filter duplicate within the same category only. If the
duplicate appears in another category, I want to retain it.
Is there a way to do it?
Thanks!
Landa



"Himani" wrote:

Use Advance Filter to show only unique records.

Data menu - Filter - Advance Filter - Select range data and also check
"Unique records only"

And if you want to copy filtered data to another location then specify
location.

Hope this helps !!


"Landa" wrote:

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how to remove duplicates ONLY within the same category

If you use A1&"-"&B1 then, text to column transformation will be more useful.

"Gunnar Lysaker" wrote:

Hi
First, you have to put them in the same cell using A1&b1 into a column. Then
use advanced filters. The split the column using data-text to columns.
G.

"Landa" wrote:

Hi Himani,
Thanks a lot for your suggestion!
I have tried this method before but while it can filter out the duplicate
for "hair hair restoration", it will also filter "hair hair care".
However, I want to filter duplicate within the same category only. If the
duplicate appears in another category, I want to retain it.
Is there a way to do it?
Thanks!
Landa



"Himani" wrote:

Use Advance Filter to show only unique records.

Data menu - Filter - Advance Filter - Select range data and also check
"Unique records only"

And if you want to copy filtered data to another location then specify
location.

Hope this helps !!


"Landa" wrote:

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default how to remove duplicates ONLY within the same category

This is great! Thanks Veterinary_Medicine and Gunnar Lysaker :)

"Veterinary_Medicine" wrote:

If you use A1&"-"&B1 then, text to column transformation will be more useful.

"Gunnar Lysaker" wrote:

Hi
First, you have to put them in the same cell using A1&b1 into a column. Then
use advanced filters. The split the column using data-text to columns.
G.

"Landa" wrote:

Hi Himani,
Thanks a lot for your suggestion!
I have tried this method before but while it can filter out the duplicate
for "hair hair restoration", it will also filter "hair hair care".
However, I want to filter duplicate within the same category only. If the
duplicate appears in another category, I want to retain it.
Is there a way to do it?
Thanks!
Landa



"Himani" wrote:

Use Advance Filter to show only unique records.

Data menu - Filter - Advance Filter - Select range data and also check
"Unique records only"

And if you want to copy filtered data to another location then specify
location.

Hope this helps !!


"Landa" wrote:

Hi, grateful if you could help me on this regarding removing duplicates ONLY
within the same category but not across categories.
e.g.
item category
hair hair restoration
hair loss hair restoration
hair hair restoration
hair hair care
shampoo hair care

I want to return -
item category
hair hair restoration
hair loss hair restoration
hair hair care
shampoo hair care

Any help would be much appreciated!

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
Need Assistance: Average/Remove Duplicates DigitalGM Excel Discussion (Misc queries) 6 September 4th 08 10:02 PM
Compare columns remove duplicates Tommy Geek Excel Discussion (Misc queries) 1 December 21st 06 06:42 PM
Can you remove duplicates from Pivot Table? Mississauga99 Excel Discussion (Misc queries) 2 October 24th 06 04:39 PM
Remove duplicates Tuttamay77 Excel Discussion (Misc queries) 4 May 12th 06 10:56 PM
compare two columns and remove duplicates Moni39 Excel Worksheet Functions 3 May 5th 05 06:08 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"