Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I consoldiate a List of numbers to show each number once ?

I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default How do I consoldiate a List of numbers to show each number once ?

Sort the spreadsheet by the column with duplicates in ascending order
In a helper column type-
=IF(A2=A1,1,0)
and copy to the last occupied row
Change the formula to numbers. To do this -

Highlight the helper column
Click on <Edit<Copy<Edit<Paste special<Values<OK
Sort on the helper column
Delete all rows where value in the helper column is 1

Regards.

Bill Ridgeway
Computer Solutions

"PPete" wrote in message
...
I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default How do I consoldiate a List of numbers to show each number once ?

The easiest way is to highlight all the data columns, Sort by your number
list, and delete the duplicates. Or Autofilter for each value, right click
and delete the duplicates. If this is too large of a list to do manually,
you can create a fiormula in a new column:
1. After sorting, in the 2nd row that contains data in the new column,
create the follwoing formula:
=IF(A2=A3,"Y","N")
2. You iwll have to change "A" to the column letter containing your list.
The numbers in this formula assumes that Row1 is the header, and Row 2 starts
the data. Once entered, drag down to fill the formula in on the remaining
rows.
3. Autofilter the sheet by the "new column" you created for "Y".
Highlight all the "Y" rows, right click and delete.
4. Remove the filter and delete the formula column.

HTH


"PPete" wrote:

I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I consoldiate a List of numbers to show each number once ?

The real easiest way is to use DataFilterAdvanced Filter.

Check Unique records only and Copy to another location.

Needs no sorting, helper column, formula copying or deletion of columns.


Gord Dibben MS Excel MVP

On Thu, 13 Jul 2006 12:52:02 -0700, Wiley
wrote:

The easiest way is to highlight all the data columns, Sort by your number
list, and delete the duplicates. Or Autofilter for each value, right click
and delete the duplicates. If this is too large of a list to do manually,
you can create a fiormula in a new column:
1. After sorting, in the 2nd row that contains data in the new column,
create the follwoing formula:
=IF(A2=A3,"Y","N")
2. You iwll have to change "A" to the column letter containing your list.
The numbers in this formula assumes that Row1 is the header, and Row 2 starts
the data. Once entered, drag down to fill the formula in on the remaining
rows.
3. Autofilter the sheet by the "new column" you created for "Y".
Highlight all the "Y" rows, right click and delete.
4. Remove the filter and delete the formula column.

HTH


"PPete" wrote:

I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default How do I consoldiate a List of numbers to show each number onc

Gord,

I agree. I like your solution better. I forgot about that feature.


"Gord Dibben" wrote:

The real easiest way is to use DataFilterAdvanced Filter.

Check Unique records only and Copy to another location.

Needs no sorting, helper column, formula copying or deletion of columns.


Gord Dibben MS Excel MVP

On Thu, 13 Jul 2006 12:52:02 -0700, Wiley
wrote:

The easiest way is to highlight all the data columns, Sort by your number
list, and delete the duplicates. Or Autofilter for each value, right click
and delete the duplicates. If this is too large of a list to do manually,
you can create a fiormula in a new column:
1. After sorting, in the 2nd row that contains data in the new column,
create the follwoing formula:
=IF(A2=A3,"Y","N")
2. You iwll have to change "A" to the column letter containing your list.
The numbers in this formula assumes that Row1 is the header, and Row 2 starts
the data. Once entered, drag down to fill the formula in on the remaining
rows.
3. Autofilter the sheet by the "new column" you created for "Y".
Highlight all the "Y" rows, right click and delete.
4. Remove the filter and delete the formula column.

HTH


"PPete" wrote:

I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I consoldiate a List of numbers to show each number onc

Thanks Wiley.

Many ways to disrobe the feline.


Gord

On Fri, 14 Jul 2006 05:58:02 -0700, Wiley
wrote:

Gord,

I agree. I like your solution better. I forgot about that feature.


"Gord Dibben" wrote:

The real easiest way is to use DataFilterAdvanced Filter.

Check Unique records only and Copy to another location.

Needs no sorting, helper column, formula copying or deletion of columns.


Gord Dibben MS Excel MVP

On Thu, 13 Jul 2006 12:52:02 -0700, Wiley
wrote:

The easiest way is to highlight all the data columns, Sort by your number
list, and delete the duplicates. Or Autofilter for each value, right click
and delete the duplicates. If this is too large of a list to do manually,
you can create a fiormula in a new column:
1. After sorting, in the 2nd row that contains data in the new column,
create the follwoing formula:
=IF(A2=A3,"Y","N")
2. You iwll have to change "A" to the column letter containing your list.
The numbers in this formula assumes that Row1 is the header, and Row 2 starts
the data. Once entered, drag down to fill the formula in on the remaining
rows.
3. Autofilter the sheet by the "new column" you created for "Y".
Highlight all the "Y" rows, right click and delete.
4. Remove the filter and delete the formula column.

HTH


"PPete" wrote:

I have a list of numbers in a column that can repeat. I want to delete all
rows if that number is repeated.




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
find sum in list of of numbers Jim Thomlinson Excel Discussion (Misc queries) 5 January 4th 06 07:07 PM
How to find the second most frequent number in a list? Sam Excel Worksheet Functions 0 March 25th 05 04:45 PM
How can I compare a number against a list of numbers johnny Excel Worksheet Functions 4 March 22nd 05 07:13 PM
finding the second largest number in a list bobf Excel Discussion (Misc queries) 1 February 16th 05 01:19 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM


All times are GMT +1. The time now is 04:31 PM.

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"