Compare values in 2 arrays and return true if any of the values match

Want to compare the two highlighted arrays and return true if any of the cells match
Capture.PNG
Tiger858Asked:
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.

ShumsExcel & VBA ExpertCommented:
Can you please explain more. Cell reference, Rows, Columns. Or Sample Workbook would be helpful
Tiger858Author Commented:
I have attached a picture to help
ShumsExcel & VBA ExpertCommented:
Return where?
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

Tiger858Author Commented:
to where ever the formula is located
ShumsExcel & VBA ExpertCommented:
You can name the range for Opens and use below formula Assuming your Close list is from row 15 in Column A
=COUNTIF(Opens,A15)>0

Open in new window

Compare-Values.xlsx
Tiger858Author Commented:
Sorry i would like the formula to be able to tell using only one formula. i have attached an example of this
Book1.xlsx
ShumsExcel & VBA ExpertCommented:
If you are comparing two range, all the cell value would be same to give you True or False, It can count, how many matches you have comparing other range.
If you just want count then you can use below formula:
=SUMPRODUCT(COUNTIF(Opens,Close))
And i you want result True or False even a single value matches then use below formula:
=IF(SUMPRODUCT(COUNTIF(Opens,Close))>=1,"True","No Match")
Count-Two-Ranges.xlsx

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
Tiger858Author Commented:
Exactly what i was after thank you
ShumsExcel & VBA ExpertCommented:
You're Welcome Tiger858! Glad I was able to help.
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
arrays

From novice to tech pro — start learning today.