How will i know if a certain word exist in cell

mart_mrexcel

Board Regular
Joined
Aug 23, 2008
Messages
238
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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

pgc01

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

Try, for ex.:

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

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:

Watch MrExcel Video

Forum statistics

Threads
1,130,118
Messages
5,640,211
Members
417,131
Latest member
Seanr19871

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