#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Find Duplicate data

I am looking for a formula that will say "Duplicate" based on two criteria.
Say column B has text and column C has dates. If the text appears more than
once and the dates are six or more months apart then the sum of column A
results.
Expamle:
A B C
$45 hardware 11/14/07
$50 hardware 12/04/07
$80 lights 10/01/07
$90 lights 7/25/08
Only $90 is valid in furmula resulting as "Duplicate"

Thanks for your help in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Find Duplicate data

You can use sumproduct

=IF(SUMPRODUCT(--(B4=B$1:B$100),--(ABS(C4-C$1:C$100)=183))0,"Duplicate","")

183 is greater than 6 months (365/2)

Copy formula down the column. Notice where the $ are located. 100 is the
last row (or greater) of your data.

"vadda" wrote:

I am looking for a formula that will say "Duplicate" based on two criteria.
Say column B has text and column C has dates. If the text appears more than
once and the dates are six or more months apart then the sum of column A
results.
Expamle:
A B C
$45 hardware 11/14/07
$50 hardware 12/04/07
$80 lights 10/01/07
$90 lights 7/25/08
Only $90 is valid in furmula resulting as "Duplicate"

Thanks for your help in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Find Duplicate data

You rock, it works perfectly. This will make my project much faster.

"Joel" wrote:

You can use sumproduct

=IF(SUMPRODUCT(--(B4=B$1:B$100),--(ABS(C4-C$1:C$100)=183))0,"Duplicate","")

183 is greater than 6 months (365/2)

Copy formula down the column. Notice where the $ are located. 100 is the
last row (or greater) of your data.

"vadda" wrote:

I am looking for a formula that will say "Duplicate" based on two criteria.
Say column B has text and column C has dates. If the text appears more than
once and the dates are six or more months apart then the sum of column A
results.
Expamle:
A B C
$45 hardware 11/14/07
$50 hardware 12/04/07
$80 lights 10/01/07
$90 lights 7/25/08
Only $90 is valid in furmula resulting as "Duplicate"

Thanks for your help in advance.

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 do I find duplicate numbers in a data? Manni Excel Worksheet Functions 1 September 19th 08 10:38 PM
find duplicate data in diffrent column Malik Nadeem Excel Discussion (Misc queries) 1 July 18th 06 11:02 AM
How to find duplicate data in two tables,then listing it? Doeu Excel Worksheet Functions 2 April 20th 06 12:33 PM
How to find duplicate data in two tables,then listing it?(Excel) Doeu Excel Worksheet Functions 0 April 20th 06 09:57 AM
Another question on how to find duplicate data Eroc Excel Worksheet Functions 2 December 14th 04 05:03 AM


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