extracting certain words in a cell

bwlytkr

Board Regular
Joined
Jun 8, 2012
Messages
185
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Is there a formula for extracting certain words/phrases in a cell no matter where they appear in the cell? For example, I need to know if the cell has Not Needed, Need Created, Not Created and populate the result in the cell when found. Any help would be appreciated
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello,

Say the cell to be tested in cell A1 ... and your 3 items to be looked for are located in D1:D3

you could test the following Array Formula:

Code:
=IFERROR(MATCH(TRUE,ISNUMBER(SEARCH($D$1:$D$3, A1)),0),"")

Hope this will help
 
Upvote 0
Thanks for the help. I know this is a dumb question but, where would the phrases I'm searching for go in your formula. Would I replace the word "search" in your formula with these phases and the "cell to be tested" is that the cell where the formula is?? I've never used this formula before so not really sure what it is telling me
 
Upvote 0
THE CELL MY FORMULA IS IN IS COLUMN G AND THE PHRASES I'm SEARCHIG FOR IS IN COLUMN F. I NEED THE RESULT TO POPULATE IN EACH RO SO CAN SORT THE RESULTS IN COLUMN G WHEN COMPLETED. HOPE THIS HELPS CLARIFY IT
 
Upvote 0
Before getting any further ...

Why don't you test the Array Formula first ....???
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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