Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dh01uk
 
Posts: n/a
Default Removing duplicate entries.


Hi All,

I have a large series of numbers, split into three columns.

The first contains a product code, the second a vendor number referring
to whom the item has been ordered from, and the third the total number
of orders placed with that vendor.

Where a product has been ordered from more than one vendor, the Item
number appears more than once in Column A.

For instance, in the example below, Product Code 00301 appears twice in
Col A, showing one order from vendor '944' and two orders from vendor
'532CD'

I need to filter out the duplicate item numbers in column A, leaving
each item in just once. This result should be the vendor from whom the
greatest amount of orders has been placed, for each item.

ITEM VENDOR TOTAL
96 532CD 2
98 393WMB 3
00101 944 1
00301 944 1
00301 532CD 2
00401 944 1

Any help / suggestions very much appreciated!!

Regards
dh01uk


--
dh01uk
------------------------------------------------------------------------
dh01uk's Profile: http://www.excelforum.com/member.php...o&userid=30442
View this thread: http://www.excelforum.com/showthread...hreadid=501036

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Removing duplicate entries.

Sort your range by item number and by total.

Then put this in column D2 (headers in row 1??).

=countif($a$2:$a2,a2)
And drag down.

Apply Data|Filter|autofilter to that column D.
filter to show greater than 1
Delete those visible rows.

dh01uk wrote:

Hi All,

I have a large series of numbers, split into three columns.

The first contains a product code, the second a vendor number referring
to whom the item has been ordered from, and the third the total number
of orders placed with that vendor.

Where a product has been ordered from more than one vendor, the Item
number appears more than once in Column A.

For instance, in the example below, Product Code 00301 appears twice in
Col A, showing one order from vendor '944' and two orders from vendor
'532CD'

I need to filter out the duplicate item numbers in column A, leaving
each item in just once. This result should be the vendor from whom the
greatest amount of orders has been placed, for each item.

ITEM VENDOR TOTAL
96 532CD 2
98 393WMB 3
00101 944 1
00301 944 1
00301 532CD 2
00401 944 1

Any help / suggestions very much appreciated!!

Regards
dh01uk

--
dh01uk
------------------------------------------------------------------------
dh01uk's Profile: http://www.excelforum.com/member.php...o&userid=30442
View this thread: http://www.excelforum.com/showthread...hreadid=501036


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Removing duplicate entries.

Ps. make sure you specify descending for the Total key in your sort.

dh01uk wrote:

Hi All,

I have a large series of numbers, split into three columns.

The first contains a product code, the second a vendor number referring
to whom the item has been ordered from, and the third the total number
of orders placed with that vendor.

Where a product has been ordered from more than one vendor, the Item
number appears more than once in Column A.

For instance, in the example below, Product Code 00301 appears twice in
Col A, showing one order from vendor '944' and two orders from vendor
'532CD'

I need to filter out the duplicate item numbers in column A, leaving
each item in just once. This result should be the vendor from whom the
greatest amount of orders has been placed, for each item.

ITEM VENDOR TOTAL
96 532CD 2
98 393WMB 3
00101 944 1
00301 944 1
00301 532CD 2
00401 944 1

Any help / suggestions very much appreciated!!

Regards
dh01uk

--
dh01uk
------------------------------------------------------------------------
dh01uk's Profile: http://www.excelforum.com/member.php...o&userid=30442
View this thread: http://www.excelforum.com/showthread...hreadid=501036


--

Dave Peterson
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 you identify duplicate entries in a singe column? Melissa Excel Worksheet Functions 3 January 4th 06 09:20 PM
How do I delete duplicate entries in excel? antieal New Users to Excel 1 December 8th 05 02:39 PM
Duplicate Entries ConfusedNHouston Excel Discussion (Misc queries) 1 November 1st 05 12:50 PM
Deleting duplicate entries in an Excel list ticephotos Excel Worksheet Functions 5 May 3rd 05 08:44 PM
count duplicate (or, inversely, unique) entries, but based on a condition markx Excel Worksheet Functions 3 March 8th 05 06:57 PM


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