If statement to find duplicate values

I have a name in column A and item numbers in column H. I need to know if the name in column A as duplicate item numbers in column H. A brief example is below:

A                         H
Tom                   12
Tom                   10
Tom                   12
Brad                  10
Joe                     11
Joe                     13

Ideally, I would like for the formula to be in a different column and read "Yes" if Tom, Brad, or Joe had a duplicate number in column H and "no" if all values in H were unique.
Michael BradleyAsked:
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.

Patrick MatthewsCommented:
This simple formula seems to do it. TRUE = unique name/value pair; FALSE = not unique.

=COUNTIFS($A$1:$A$6,A1,$H$1:$H$6,H1)=1

Update your ranges accordingly.
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
Michael BradleyAuthor Commented:
That worked. Thank you!
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.