Find a particular word in a STRING of text ?

Dolcevita

New Member
Joined
Mar 23, 2021
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hello


First things first, I am so grateful to have access to a forum where I can ask questions on Excel?. I am a bit of an Excel virgin - I have been around the block many times but only ever got to first base, never really got into the saucy stuff - this is my first proper foray into the subject of functions, so if you could go slow with me I would be grateful!!

i am (trying to) creating an excel function. The cell, let's call it D5, contains a full sentence of words. I want to create a function that detects the word "work", or "job", or "furlough" in that sentence. If it finds any of those words within the sentence I want it to print the word "employment".

THe formula/function i have created only detects the word "work" if it's the only word in the cell.

Here is my wholly inadequate function:cautious::

=IF(K2="work","EMPLOYMENT") - its not doing what i want it to do!!!

My question is - where am I going wrong? Is the IF function the wrong function? Is there a way of Excel finding the word "work" in amongst the other words? If so could you help me construct it?

Thanks for the help guys!

Dolcevita
 
You're welcome, thanks for the feedback.
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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