How will i know if a certain word exist in cell

mart_mrexcel

Active Member
Joined
Aug 23, 2008
Messages
257
Office Version
  1. 365
Platform
  1. Windows
How will I know if a certain word exist in a cell. Example I want to know whether there is a word like: “Admin” or “Tech” in a cell. If there is word “Admin” then the value will be “A”, if it is “Tech” the value will be “T”. Here’s the tricky part, the caps will not be necessary for checking meaning “Admin” is same as “aDmin”. Help please.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Example: A1 has value text = “Professional “Admin”<o:p></o:p>
A2 has value text = “Professional “tech”<o:p></o:p>
A3 has value text =”admin” professional”<o:p></o:p>
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,887
Hi

Try, for ex.:

=IF(ISNUMBER(SEARCH("admin",A1)),"A",IF(ISNUMBER(SEARCH("tech",A1)),"T","Not found"))
 

mart_mrexcel

Active Member
Joined
Aug 23, 2008
Messages
257
Office Version
  1. 365
Platform
  1. Windows
wow that really works...thanks a lot have a nice day
 

pavin

Active Member
Joined
Jan 20, 2009
Messages
308
Try this formula:

=IF(ISNUMBER(SEARCH("Admin",A1)),"A",IF(ISNUMBER(SEARCH("Tech",A1)),"T",""))

OH!...Mine is similar to Pgc01.,well I was late to respond......
 
Last edited:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,288
Messages
5,836,430
Members
430,428
Latest member
Deepak Tanwar

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
Top