#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Find text

Hi. I'm trying to find the text "V70.7" within a particular range - and if I
find it? Great.

I'm able to look in one particular cell - for example:

=IF(ISNUMBER(SEARCH("V70.7",AE33)),"incl V70.7","")

but I'm trying to look in the range - and or the individual cells of AE33,
AF33, AG33 -- through to AK33

I've tried to use OR but I've overcomplicated it or I don't understand how
to use it.

thought?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Find text

If the text is found, do you want the cell's contents or the cell's address??
--
Gary''s Student - gsnu200860


"beata" wrote:

Hi. I'm trying to find the text "V70.7" within a particular range - and if I
find it? Great.

I'm able to look in one particular cell - for example:

=IF(ISNUMBER(SEARCH("V70.7",AE33)),"incl V70.7","")

but I'm trying to look in the range - and or the individual cells of AE33,
AF33, AG33 -- through to AK33

I've tried to use OR but I've overcomplicated it or I don't understand how
to use it.

thought?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default find text

just the fact that it's there - I don't care from which cell. thanks.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Find text

beata wrote:
Hi. I'm trying to find the text "V70.7" within a particular range - and if I
find it? Great.

I'm able to look in one particular cell - for example:

=IF(ISNUMBER(SEARCH("V70.7",AE33)),"incl V70.7","")

but I'm trying to look in the range - and or the individual cells of AE33,
AF33, AG33 -- through to AK33

I've tried to use OR but I've overcomplicated it or I don't understand how
to use it.

thought?


Maybe this array* formula:

=IF(MAX(--(ISNUMBER(SEARCH("V70.7",AE33:AK33)))),"incl V70.7")

*Commit the array formula by pressing Ctrl+Shift+Enter, not just Enter
or Tab.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Find text

=--(countif(ae33:ak33,"*"&"v70.7"&"*")0)
or
=--(countif(ae33:ak33,"*v70.7*")0)

Will return true (if it's there) or false (if it's not).

beata wrote:

Hi. I'm trying to find the text "V70.7" within a particular range - and if I
find it? Great.

I'm able to look in one particular cell - for example:

=IF(ISNUMBER(SEARCH("V70.7",AE33)),"incl V70.7","")

but I'm trying to look in the range - and or the individual cells of AE33,
AF33, AG33 -- through to AK33

I've tried to use OR but I've overcomplicated it or I don't understand how
to use it.

thought?


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Find text

Thanks. While all three replies worked - I found this one the easiest.

"Dave Peterson" wrote:

=--(countif(ae33:ak33,"*"&"v70.7"&"*")0)
or
=--(countif(ae33:ak33,"*v70.7*")0)

Will return true (if it's there) or false (if it's not).

beata wrote:

Hi. I'm trying to find the text "V70.7" within a particular range - and if I
find it? Great.

I'm able to look in one particular cell - for example:

=IF(ISNUMBER(SEARCH("V70.7",AE33)),"incl V70.7","")

but I'm trying to look in the range - and or the individual cells of AE33,
AF33, AG33 -- through to AK33

I've tried to use OR but I've overcomplicated it or I don't understand how
to use it.

thought?


--

Dave Peterson

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 free-format text field Eric_NY Excel Discussion (Misc queries) 5 May 27th 09 07:31 PM
Find repeated text in a text document in Excel JE Excel Worksheet Functions 2 June 8th 08 09:32 PM
Search, find or lookup defined text in text string zzxxcc Excel Worksheet Functions 9 September 6th 07 09:37 PM
find text in cell and replace it with part of the text in that ce. jules Excel Discussion (Misc queries) 3 May 3rd 07 10:18 AM
can you find specific text in a string ignoring any other text chriscp Excel Discussion (Misc queries) 1 September 18th 05 09:54 PM


All times are GMT +1. The time now is 02:01 PM.

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

About Us

"It's about Microsoft Excel"