LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Searching String for phrases/multiple text strings

I have a column of Vendor Comments on the Outreach effort such as

"Client's case is closed"
"Client lacks transportation"
"Client is 8 months pregnant"
"Client moved"
"House is vacant"

I want to be able to search within that column for words which will flag
other columns such as
CLIENT MOVED COLUMN
words to search:
"move"
"abandoned"
"apartment"
"for rent"
"no one knows"
"vacant"
"burned"
CLIENT CASE CLOSED COLUMN
"Closed"
"Post-TANF"
BARRIER REPORTED COLUMN
"Pregnant"
"Transportation"
"DV"
"Child Care"

so that these are autoflagged and so that they will have a 1 in them. I
will then filter for column entries and then copy and paste the names of say
people who moved into another spreadsheet and send them to someone.

My friend introduced me to this phrase
=IF(SEARCH(AT$4,$Y18)0,"yes")
to try to see if I could find text within another cell. But that only works
for one text entry. What I am trying to do is search multiple phrases
withing that column and I can't get it to work.

I created the 3 columns for flagging. I put the search criteria in the next
3 columns

I tried the following 2 methods that did not work:

1)

Where Z is the FLAG FOR MOVED column, IF(SEARCH(AS$4:AS$10,$Y9)0,"yes")
curiously this one would return only a match for the first criteria unless
the two items were on the same line...let me make that one real:

If Y9 and Y10 said "Client does not live here" and AS9 said "does not live
here", the return would be 1 in Z10 but #Value! in Z11.

Whatsupwithdat?

2)

IF(SEARCH(AT$4,$Y4)0,"yes",IF(SEARCH(AT$5,$Y4)0, "yes","no"))
This one would not search the nested if then.

I have about 12 criteria anyway, so could you shed any light on this?

I cannot find anything about multiple criteria in the MS Help in Excel.

The State of New Jersey thanks you for any useful input. We use Microsoft
2003 in this office.

If this cannot be done, someone should pass this on to Microsoft, because it
has a lot of applications for future upgrades.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for searching for a text string KellyB Excel Discussion (Misc queries) 5 November 20th 06 09:20 PM
Searching for multiple strings and return multiple solutions Ron Excel Worksheet Functions 2 October 6th 06 05:29 PM
vba searching for strings in multiple worksheets [email protected] Excel Discussion (Misc queries) 2 July 26th 06 07:15 PM
Searching for codes in text strings Bhupinder Rayat Excel Worksheet Functions 9 April 27th 06 01:20 PM
searching for multiple text strings eddie Excel Discussion (Misc queries) 4 April 10th 05 10:15 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"