#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
briank
 
Posts: n/a
Default Find text

In A1 I would like a command that searches for text, located in Col B1 within
a range called VLRange1. The cells within the VLRange1 may have the unique
name like "Bob" or it may be in a small memo like "Where is Bob today". I
could not get Vlookup or Lookup or Find to work. Perhaps I'm missing
something. Any help would be appreciated.
A B
1 command Bob
2 command Smith
3 command Jones
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bondi
 
Posts: n/a
Default Find text


briank wrote:
In A1 I would like a command that searches for text, located in Col B1 within
a range called VLRange1. The cells within the VLRange1 may have the unique
name like "Bob" or it may be in a small memo like "Where is Bob today". I
could not get Vlookup or Lookup or Find to work. Perhaps I'm missing
something. Any help would be appreciated.
A B
1 command Bob
2 command Smith
3 command Jones


Hi Briank,

Could you please tell us:
- what you would like the formula Command) in A1 to return?
- Is VLRange1 the entire Col B?
- Any other information or example :o)
Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
briank
 
Posts: n/a
Default Find text

I would like the cell in Column A to state "True" or "False" if the text in
Col B is found in the range VLRange1. Also VLRange1 is on a different
worksheet within the same file at M2:U300. I hope that this helps. Thank
you.

"Bondi" wrote:


briank wrote:
In A1 I would like a command that searches for text, located in Col B1 within
a range called VLRange1. The cells within the VLRange1 may have the unique
name like "Bob" or it may be in a small memo like "Where is Bob today". I
could not get Vlookup or Lookup or Find to work. Perhaps I'm missing
something. Any help would be appreciated.
A B
1 command Bob
2 command Smith
3 command Jones


Hi Briank,

Could you please tell us:
- what you would like the formula Command) in A1 to return?
- Is VLRange1 the entire Col B?
- Any other information or example :o)
Regards,
Bondi


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Find text

=COUNTIF(VLRange1,B1)0

if the value in B can be part of a string

=COUNTIF(VLRange1,"*"&B1&"*")0



--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"briank" wrote in message
...
I would like the cell in Column A to state "True" or "False" if the text in
Col B is found in the range VLRange1. Also VLRange1 is on a different
worksheet within the same file at M2:U300. I hope that this helps. Thank
you.

"Bondi" wrote:


briank wrote:
In A1 I would like a command that searches for text, located in Col B1
within
a range called VLRange1. The cells within the VLRange1 may have the
unique
name like "Bob" or it may be in a small memo like "Where is Bob today".
I
could not get Vlookup or Lookup or Find to work. Perhaps I'm missing
something. Any help would be appreciated.
A B
1 command Bob
2 command Smith
3 command Jones


Hi Briank,

Could you please tell us:
- what you would like the formula Command) in A1 to return?
- Is VLRange1 the entire Col B?
- Any other information or example :o)
Regards,
Bondi




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
briank
 
Posts: n/a
Default Find text

Countif command worked great. Thank you both for your time.

"Peo Sjoblom" wrote:

=COUNTIF(VLRange1,B1)0

if the value in B can be part of a string

=COUNTIF(VLRange1,"*"&B1&"*")0



--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"briank" wrote in message
...
I would like the cell in Column A to state "True" or "False" if the text in
Col B is found in the range VLRange1. Also VLRange1 is on a different
worksheet within the same file at M2:U300. I hope that this helps. Thank
you.

"Bondi" wrote:


briank wrote:
In A1 I would like a command that searches for text, located in Col B1
within
a range called VLRange1. The cells within the VLRange1 may have the
unique
name like "Bob" or it may be in a small memo like "Where is Bob today".
I
could not get Vlookup or Lookup or Find to work. Perhaps I'm missing
something. Any help would be appreciated.
A B
1 command Bob
2 command Smith
3 command Jones

Hi Briank,

Could you please tell us:
- what you would like the formula Command) in A1 to return?
- Is VLRange1 the entire Col B?
- Any other information or example :o)
Regards,
Bondi







Reply
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
find text in a string formula Todd Excel Worksheet Functions 5 June 2nd 06 04:12 AM
find specific text and make cell highlighted after the future Excel Discussion (Misc queries) 2 May 26th 06 02:11 PM
Help! - Lost function in Find & Replace! jmn13 Excel Discussion (Misc queries) 1 May 25th 06 06:16 PM
Find text in cell, copy row to new sheet Ajay Excel Discussion (Misc queries) 6 June 29th 05 08:40 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM


All times are GMT +1. The time now is 12:45 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"