Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 145
Default A change in my "Duplicate Names" formula please?

I was given a wonderful formula to identify and duplicate name entries on a
spreadsheet, and it works like a charm:

=IF(SUM(IF(A4:A3500&B4:B3500<"",--(MATCH(A4:A3500&B4:B3500,A4:A3500&B4:B3500,0)=ROW( A4:B3500)-MIN(ROW(B4:B3500))+1),0))=SUM(--((A4:A3500<"")+(B4:B3500<"")0)),
"No Duplicate Names Found", "Duplicate Names Found")

I also use "conditional formatting" (see below) to change all of the
applicable "matches" to RED when they occur

=SUMPRODUCT(--($A$4:$A$3500=$A4),--($B$4:$B$3500=$B4))1

Here is my question:

Every now and then a duplicate entry is okay (as the duplicate identifies a
different location address for an individual, or a different service that we
are providing them). The main goal of the original formula above was to
identify "accidental" entering of the same persons data more than once.

My thought is to develop a third Row (Row C), and place an "x" in any cell
where the duplicate names occur, but shouldn't be flagged (for the reasons
described above as to why we sometimes wouldn't consider this a duplicate
entry).

What formula would best incorporate that additional requirement (to
effectively turn off the "Duplicate Names Found" flag, and return to font to
its original status). I suspect that once the "Duplicate Names Found" flag
returns to "No Duplicate Names Found", the conditional formatting formula
currently in place will take care of itself.

Thanks much,

Dan
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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
How to change "automax" to "autosum"? (probablyl wrong terminology) [email protected] Excel Discussion (Misc queries) 5 November 6th 06 08:07 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
=IF(D13="PAID","YES","NO") Can I change fonts colour Kev Excel Discussion (Misc queries) 3 February 17th 06 04:27 AM


All times are GMT +1. The time now is 07:33 AM.

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"