Find duplicate rows

Script that can check column A and column B with Column D and E

I want help to find duplicates as in the attachment the A & B should be identical matches with D & E

If found then need to color both sides

The URL's of words can be 300 to 500 characters in many cases so identical should be found

Need to deal with start and end spaces and the last / slash

Need to ignore the start and end space and slash so we dont loose finding duplicates in such cases

Thanks in advance
Color-identical.xls
mtthompsonsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saqib Husain, SyedEngineerCommented:
Select the range A2:B1000 or whatever and apply the conditional format formula

=SUMPRODUCT(($A2=$D:$D)*($B2=$E:$E))

Similarly for C2:D1000

=SUMPRODUCT(($D2=$A:$A)*($E2=$B:$B))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mtthompsonsAuthor Commented:
Thanks does work but a little confused
1. Does it have a A & B as a pair and check D & E or its A vs D and B Vs E

2. If a match not found its 0 else its 1 can we have "Not found" as another option where link itself is not found
A and D has to get be checked and if exact URL not found then mention "Not found"
0
Saqib Husain, SyedEngineerCommented:
1. It is checking column A with D and column B with E and then combining the results of the two columns.

2. Use this formula (not tested)

=if(SUMPRODUCT(($A2=$D:$D)*($B2=$E:$E))=0,"Not found",SUMPRODUCT(($A2=$D:$D)*($B2=$E:$E)))
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Saqib Husain, SyedEngineerCommented:
Sorry, For #2 where would you want the "Not found" displayed?
0
mtthompsonsAuthor Commented:
Not found in the cells if Column A is not found in D Or D not found in A
0
Saqib Husain, SyedEngineerCommented:
Sorry, not understood. In which cells? Can you show an example?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.