#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Duplicate Records

I have an Excel spreadsheet that lists duplicate records and I need to
compare one duplicate column to another column that may have duplicates.
Here is an example of my spreadsheet...

Date Log ID Log #
Technician's Last Name
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 LEWIS
1/20/2010 324048 20100115@107 ORANGE
1/20/2010 324048 20100115@107 BANANA

So, first you will notice that the Log ID is duplicated, then you see the
log # duplicated and then you have 4 different technician's working on that
log. So, the only records that I'd want after I do my formula or whatever I
have to do would be 1 record from smith, 1 from lewis, 1 from orange and 1
from banana. Basically, even though Smith is listed twice, I'd only like to
count it once. Can anyone help??


If you'll notice, the log id is the same for both technician's, but the
technician's name
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Duplicate Records

Jill,

It is unclear what you want to do, but start by entering this formula into cell E2

=IF(SUMPRODUCT(($A$2:A2=A2)*($B$2:B2=B2)*($C$2:C2= C2)*($D$2:D2=D2))1, "Duplicate","")

and then copy it down to match your list.

Then copy column E and paste special values - you can then sort or filter and remove the lines where
"Duplicate" appears, or exclude them from your calculations.

HTH,
Bernie
MS Excel MVP


"JillC" wrote in message
...
I have an Excel spreadsheet that lists duplicate records and I need to
compare one duplicate column to another column that may have duplicates.
Here is an example of my spreadsheet...

Date Log ID Log #
Technician's Last Name
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 LEWIS
1/20/2010 324048 20100115@107 ORANGE
1/20/2010 324048 20100115@107 BANANA

So, first you will notice that the Log ID is duplicated, then you see the
log # duplicated and then you have 4 different technician's working on that
log. So, the only records that I'd want after I do my formula or whatever I
have to do would be 1 record from smith, 1 from lewis, 1 from orange and 1
from banana. Basically, even though Smith is listed twice, I'd only like to
count it once. Can anyone help??


If you'll notice, the log id is the same for both technician's, but the
technician's name



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Duplicate Records

Bernie kind of beat me to it. I think it's going to be determined quite a
bit by exactly what you are trying to do at any given point, but I suspect
that most of the solutions for specific requests are going to involve the
SUMPRODUCT() function (pre-Excel 2007) or the SUMIFS() function if you happen
to be working exclusively with Excel 2007 or 2010.

"JillC" wrote:

I have an Excel spreadsheet that lists duplicate records and I need to
compare one duplicate column to another column that may have duplicates.
Here is an example of my spreadsheet...

Date Log ID Log #
Technician's Last Name
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 SMITH
1/20/2010 324048 20100115@107 LEWIS
1/20/2010 324048 20100115@107 ORANGE
1/20/2010 324048 20100115@107 BANANA

So, first you will notice that the Log ID is duplicated, then you see the
log # duplicated and then you have 4 different technician's working on that
log. So, the only records that I'd want after I do my formula or whatever I
have to do would be 1 record from smith, 1 from lewis, 1 from orange and 1
from banana. Basically, even though Smith is listed twice, I'd only like to
count it once. Can anyone help??


If you'll notice, the log id is the same for both technician's, but the
technician's name

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
KEEP duplicate records Shon Excel Discussion (Misc queries) 3 November 25th 09 02:08 PM
HELP duplicate records becder Excel Discussion (Misc queries) 3 September 14th 09 07:08 PM
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
duplicate records Zack Excel Discussion (Misc queries) 1 August 22nd 08 08:24 PM
duplicate records rcarlo Excel Discussion (Misc queries) 1 December 11th 07 11:30 PM


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