Check multiple cells for a match

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
479
Office Version
  1. 2013
Platform
  1. Windows
Users enter data into cell AM53. This code in cell AN53

=IF(AM53="","",IF(BB53=AM53,"Y","N"))

looks to see if AM53 matches BB53 and if so, it produces a "Y". Example, AM53 says Fort Lauderdale. If BB53 says Fort Lauderdale, it produces a "Y". However, if someone enters an alternative spelling into AM53, Ft Lauderdale or Ft. Lauderdale, both of which are acceptable answers, I want a "Y" to appear. With the current formula anything other than specifically Fort Lauderdale, will produce a "N".

How do I modify this =IF(AM53="","",IF(BB53=AM53,"Y","N")) to take into account BC53 and BD53 ?

Thanks in advance
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Perhaps this:

Excel Formula:
=IF(AM53="","",IF(OR(BB53=AM53,BC53=AM53,BD53=AM53),"Y","N"))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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