IF Formula without exact match

meganisagee

New Member
Joined
Nov 30, 2022
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
HI everyone,

I am working on a sheet that highlights categories of professional development activities when an option is selected from a drop down. Column B is set up as the place to search for keywords, but I've found that if I label an activity with more than one category, the highlighting stops. For example, the first activity should be highlighted when "Continuing Education" is selected, as well as when "Leadership Development" is selected. It worked when it was just labeled with Continuing Education, but once I added the second category of "Leadership Development," (so B10 would read "Continuing Education, Leadership Development") it broke. I've been playing around with the wild card symbol *, but I can't figure it out. Forgive my ignorance.

Here is the sheet I'm working on. Thanks!

1701268239428.png
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
try something like this, might need to edit a little for your specific needs
Book1
BCDE
5Leadership Development
6
7
8
9typedetailtarget
10Continuing Education, Leadership Developmentcollegenova
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B10:E10Expression=IF(ISNUMBER(SEARCH($D$5, $B$10)),TRUE,FALSE)textNO
Cells with Data Validation
CellAllowCriteria
D5ListContinuing Education, Leadership Development
 
Upvote 0
Solution
You don't need an IF for ISNUMBER, it returns TRUE/FALSE on its own.

=ISNUMBER(SEARCH($D$5, $B$10)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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