Check multiple cells for a match

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
475
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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Perhaps this:

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

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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