Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Scott
 
Posts: n/a
Default How to remove duplicate events in column

Hi,
I need to remove duplicate events from say: A1 to A500.
These are numbers only.
Any help will be greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default How to remove duplicate events in column

One way ..

Put in B1:
=IF(ISERROR(SMALL(C:C,ROW())),"",
INDEX(A:A,MATCH(SMALL(C:C,ROW()),C:C,0)))

Put in C1:
=IF(A1="","",IF(COUNTIF($A$1:A1,A1)1,"",ROW()))

Select B1:C1, fill down to C500

Col B will return the unique items within col A,
all neatly bunched at the top
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Scott" wrote in message
...
Hi,
I need to remove duplicate events from say: A1 to A500.
These are numbers only.
Any help will be greatly appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Scott
 
Posts: n/a
Default How to remove duplicate events in column

Hi Max,
I put the formulas in the cells but all I got was an error message that
sayis: error found, to accept change click yes.
Do I have to click: Ctrl+Shift+Enter when I put the first cell in and then
add to the column?

"Max" wrote:

One way ..

Put in B1:
=IF(ISERROR(SMALL(C:C,ROW())),"",
INDEX(A:A,MATCH(SMALL(C:C,ROW()),C:C,0)))

Put in C1:
=IF(A1="","",IF(COUNTIF($A$1:A1,A1)1,"",ROW()))

Select B1:C1, fill down to C500

Col B will return the unique items within col A,
all neatly bunched at the top
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Scott" wrote in message
...
Hi,
I need to remove duplicate events from say: A1 to A500.
These are numbers only.
Any help will be greatly appreciated!




  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default How to remove duplicate events in column

"Scott" wrote:
I put the formulas in the cells
but all I got was an error message that
says: error found, to accept change click yes.
Do I have to click: Ctrl+Shift+Enter
when I put the first cell in and then add to the column?


No, just normal ENTER will do, they're non-array formulas

I'm not sure why you got the error, but ..
here's a sample construct to illustrate:
http://cjoint.com/?dCsjIYbE2u
Remove duplicates in column.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



  #5   Report Post  
Posted to microsoft.public.excel.newusers
Scott
 
Posts: n/a
Default How to remove duplicate events in column

Hi Max,
Thanks, this worked after I realized that when I copy and paste the formula
for B1, it pasted in cell B1 and B2 because of the line break.
Now, if you can help me figure out how to either delete the A and C columns
so I can leave just the results in column B or eport just the results of
column B to a new worksheet.
I need to save this info. so I can do a mail merge in Word for lables.

Thank you for you expert knowlege!
Scott
"Max" wrote:

"Scott" wrote:
I put the formulas in the cells
but all I got was an error message that
says: error found, to accept change click yes.
Do I have to click: Ctrl+Shift+Enter
when I put the first cell in and then add to the column?


No, just normal ENTER will do, they're non-array formulas

I'm not sure why you got the error, but ..
here's a sample construct to illustrate:
http://cjoint.com/?dCsjIYbE2u
Remove duplicates in column.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---






  #6   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default How to remove duplicate events in column

so I can leave just the results in column B ..

well, we could always do an in-place:
Copy Paste special Check "Values" OK
on col B (to freeze the values), then delete cols A & C

But if it's for one-off purposes,
then perhaps the easier approach would be Bob's
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Scott" wrote in message
...
Hi Max,
Thanks, this worked after I realized that when I copy and paste the

formula
for B1, it pasted in cell B1 and B2 because of the line break.
Now, if you can help me figure out how to either delete the A and C

columns
so I can leave just the results in column B or eport just the results of
column B to a new worksheet.
I need to save this info. so I can do a mail merge in Word for lables.

Thank you for you expert knowlege!
Scott



  #7   Report Post  
Posted to microsoft.public.excel.newusers
Bob Umlas, Excel MVP
 
Posts: n/a
Default How to remove duplicate events in column

Use Data/Filter/Advanced Filter: First select the range, then in the dialog
box check the Unique Items checkbox, and also check Copy to another location
& specify where you want the "new list".
Bob Umlas
Excel MVP

"Scott" wrote:

Hi,
I need to remove duplicate events from say: A1 to A500.
These are numbers only.
Any help will be greatly appreciated!

  #8   Report Post  
Posted to microsoft.public.excel.newusers
Scott
 
Posts: n/a
Default How to remove duplicate events in column

Thanks Bob,
This fixed my problem!
Thank you vary much.
It great to have the expert help and this site has just that!

Scott Cleary

"Bob Umlas, Excel MVP" wrote:

Use Data/Filter/Advanced Filter: First select the range, then in the dialog
box check the Unique Items checkbox, and also check Copy to another location
& specify where you want the "new list".
Bob Umlas
Excel MVP

"Scott" wrote:

Hi,
I need to remove duplicate events from say: A1 to A500.
These are numbers only.
Any help will be greatly appreciated!

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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 18th 04 10:51 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 17th 04 08:07 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 17th 04 06:44 PM


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