Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Duplication number with formula help

I have a million lines. There are so many duplications number and cost and
I'd like to keep just ONE number and cost line of any duplication. The rest
of the duplications number will delete. Please see below. Your help with
formula is greatly appreciated.

Regards,
Soth

A B
Number Cost
65663 189,941.00
65663 189,941.00
65663 189,941.00
65663 189,941.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65934 9,398,216.00
65934 9,398,216.00
65934 9,398,216.00
66430 458,388.00
66430 458,388.00

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Duplication number with formula help

Advanced Filter should do what you want. Check the box for Unique records.
Look up in Help for more infor on how to use.

Warning! While it should do what you want, ensure that you back up your
workbook first in case it does not return expected results.

--
Regards,

OssieMac


"Soth" wrote:

I have a million lines. There are so many duplications number and cost and
I'd like to keep just ONE number and cost line of any duplication. The rest
of the duplications number will delete. Please see below. Your help with
formula is greatly appreciated.

Regards,
Soth

A B
Number Cost
65663 189,941.00
65663 189,941.00
65663 189,941.00
65663 189,941.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65934 9,398,216.00
65934 9,398,216.00
65934 9,398,216.00
66430 458,388.00
66430 458,388.00

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Duplication number with formula help

Soth

If you have a million lines, you must be using Excel 2007. So,
highlight your data, click Insert, then Table. Your data will be a
table, and it will have some nice formatting. The click on Table
Tools; then Remove duplicates will be an option. After you pick that
you will have a form to allow you to select what columns must match to
constitute a "duplicate". Then click okay, and the duplicates will be
gone.

Good luck.

Ken


On Jun 26, 3:45*pm, Soth wrote:
I have a million lines. *There are so many duplications number and cost and
I'd like to keep just ONE number and cost line of any duplication. *The rest
of the duplications number will delete. *Please see below. *Your help with
formula is greatly appreciated.

Regards,
Soth

A * * * * * * * *B
Number * * *Cost
65663 * * * * 189,941.00
65663 * * * * 189,941.00
65663 * * * * 189,941.00
65663 * * * * 189,941.00
65675 * * * * 871,281.00
65675 * * * * 871,281.00
65675 * * * * 871,281.00
65675 * * * * 871,281.00
65934 * * *9,398,216.00
65934 * * *9,398,216.00
65934 * * *9,398,216.00
66430 * * * * 458,388.00
66430 * * * * 458,388.00


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Duplication number with formula help

Hello,

I suggest to take my UDF Pstat with =Pstat("count", ...):
http://www.sulprobil.com/html/pstat.html

Regards,
Bernd
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Duplication number with formula help

Hi,

Well if you have a million lines you must be using Excel 2007. Highlight
all the data which you want deleted if there are duplicates and choose the
command Data, Remove Duplicates (new to 2007). Indicate which column of data
define the duplicates and click OK.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Soth" wrote:

I have a million lines. There are so many duplications number and cost and
I'd like to keep just ONE number and cost line of any duplication. The rest
of the duplications number will delete. Please see below. Your help with
formula is greatly appreciated.

Regards,
Soth

A B
Number Cost
65663 189,941.00
65663 189,941.00
65663 189,941.00
65663 189,941.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65675 871,281.00
65934 9,398,216.00
65934 9,398,216.00
65934 9,398,216.00
66430 458,388.00
66430 458,388.00

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
Dysfunctional Formula Duplication Across Cells JohnH Excel Discussion (Misc queries) 3 March 18th 08 09:44 PM
Duplication PMST Excel Discussion (Misc queries) 2 February 19th 08 03:18 PM
MS: Excel: Formula for data duplication between sheets? Johnz414 Links and Linking in Excel 4 January 13th 08 09:24 AM
Duplication Welthey Excel Discussion (Misc queries) 2 January 15th 07 09:48 PM
Stop Number duplication in a range Nu-bEE Excel Discussion (Misc queries) 5 March 21st 05 04:23 PM


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