re extracting duplicate records.

Gerard.L

New Member
Joined
Dec 7, 2011
Messages
3
I am fairly new to Excel. Lately have been using a sumproduct formula to compare rows and colums to find duplicate records for genealogy, Name, Date of Birth, Date of Death, however if the text is in all CAPS or Mixed, this formula does not seem to pick out the fact it is the same. Is there any way to cope with this problem? or do i need to paste the column into word and use the change case button to convert all to upper or lower case and then paste back to excel? Any help will be appreciated.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
You have the upper and lower functions to wrap parts of your formula in

so you could lookup upper(A1) and what ever is in the cell will read as uppercase or lowercase depanding on your search values
 
Upvote 0
In the example here, I am not having problems with matching words that have the same latters, but different cases:

Excel Workbook
ABCDE
12007 or later2003 or ealier
2NameDate of BirthDate of DeathIs Record a Duplicate?Is Record a Duplicate?
3Name 112/7/193212/7/2011FALSEFALSE
4Name 28/8/195012/7/2011FALSEFALSE
5Name 31/9/194412/7/2011FALSEFALSE
6NAME 112/7/193212/7/2011TRUETRUE
7Name 28/8/195012/7/1999FALSEFALSE
8NaME 112/7/193212/7/2011TRUETRUE
9Name 28/8/195012/7/2011TRUETRUE
Sheet1


D3 has this formula and then copied down column:

=COUNTIFS(A$3:A3,A3,B$3:B3,B3,C$3:C3,C3)>1

E3 has this formula and then copied down column:

=SUMPRODUCT(--(A$3:A3=A3),--(B$3:B3=B3),--(C$3:C3=C3))>1

Maybe there is some other discrepancy that is causing the problem of no match. Maybe extra spaces?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>

<o:p></o:p>
As Gerard.L suggests, there is no need to go to Word to "convert all to upper or lower case". There are functions in Excel that could do that: UPPER and LOWER, but you should not need to use these because Excel sees "Name 1" as equivalent to "name 1". Like:<o:p></o:p>

Excel Workbook
ABC
1Name 1NAME 1TRUE
2NaME 1NAME 2FALSE
3Name 1NaME 1TRUE
4nAME 1NaME 1TRUE
Sheet2
Cell Formulas
RangeFormula
C1=B1=A1
C2=B2=A2
C3=B3=A3
C4=B4=A4

 
Upvote 0
Thank you both for the kind replies and your wisdom. Am going to try both approaches, the solutions are both excellent and I can use them for other problems scimilar that I need to solve. You are a blessing.

Regards.
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,392
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top