Searching range

MN_Excel

Board Regular
Joined
Nov 8, 2010
Messages
153
I'm attempting to search an entire tab for a specific name and if that name is found I would like an "X" to be displayed. Currently I'm using the following formula, but it appears that it is searching only a specific cell (rather than range) for the name. For example, I'm attepting to search the Jan11 for the name found in cell F11 and if found I would like to see an "X", if not, the cell will remain empty. I see the name I am searching for on the January tab, yet it is coming back with a blank cell, which implies the formula didn't find the text? Any ideas on how to correct?

=IF(ISNUMBER(SEARCH(F11,'Jan11'!A1:G50)),"X","")
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
That formula looks correct, i just tried it to see what was wrong and it placed X's where it was suppose to so it worked correctly on my end. Perhaps the name is not spelled the same in cell F11 than it is throughout the rest of the tab? Try just doing and edit find and look for what is it F11 to make sure the spelling and format is correct
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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