Any way to Search for EXACT (not Partial) Text In Cell?

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
123
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi guys, I'm not sure if there's a way, but I have several positions that include the name 'President' in my spreadsheet. I only want the actual President, not the SVPS referenced as I have been getting. Is there a way to do this? Thanks

2022 CONTRACT EXCEL 6.xlsx
ABC
1John DoePresidentAttention
2Jane DoeSenior Vice PresidentAttention
3John JonesSenior Vice PresidentAttention
4Jane JonesSecretary
Sheet5
Cell Formulas
RangeFormula
C1:C4C1=IF(ISNUMBER(SEARCH("President",B1:B4)),"Attention","")
Dynamic array formulas.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
How about
Excel Formula:
=IF(B1:B4="President","Attention","")
 
Upvote 0
Solution
You're welcome & thansk for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,700
Members
448,979
Latest member
DET4492

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