#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default *Between*

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default *Between*

"Wildcard characters" - search for this term and it provides the explanation
you require

--
Cheers
Nigel



"F. Lawrence Kulchar" wrote in
message ...
I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default *Between*

I would test that formula once more.

Maybe you meant:

=if(countif(a1,"*honda*")0,"is there","not there")



F. Lawrence Kulchar wrote:

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default *Between*

Why must you use the COUNTIF function?

Why NOT...=IF(A1="*honda*","there","not there")

Thanks,

FLKulchar

"Dave Peterson" wrote:

I would test that formula once more.

Maybe you meant:

=if(countif(a1,"*honda*")0,"is there","not there")



F. Lawrence Kulchar wrote:

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default *Between*

You don't _have_ to.

But it's one way of determining if honda is in A1 (even if it's surrounded by
other characters).

You could also use:
=if(isnumber(search("honda",a1)),"there","not there")

Change "search" to "find" if case is important.

But wildcards won't work in this:

=If(A1="*honda*", ....



F. Lawrence Kulchar wrote:

Why must you use the COUNTIF function?

Why NOT...=IF(A1="*honda*","there","not there")

Thanks,

FLKulchar

"Dave Peterson" wrote:

I would test that formula once more.

Maybe you meant:

=if(countif(a1,"*honda*")0,"is there","not there")



F. Lawrence Kulchar wrote:

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default *Between*

YOU ARE CORRECT...

WILDCARDS DO NOT WORK WITH...=IF(.....

Do you know why or why not?

FLKulchar

"Dave Peterson" wrote:

You don't _have_ to.

But it's one way of determining if honda is in A1 (even if it's surrounded by
other characters).

You could also use:
=if(isnumber(search("honda",a1)),"there","not there")

Change "search" to "find" if case is important.

But wildcards won't work in this:

=If(A1="*honda*", ....



F. Lawrence Kulchar wrote:

Why must you use the COUNTIF function?

Why NOT...=IF(A1="*honda*","there","not there")

Thanks,

FLKulchar

"Dave Peterson" wrote:

I would test that formula once more.

Maybe you meant:

=if(countif(a1,"*honda*")0,"is there","not there")



F. Lawrence Kulchar wrote:

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar

--

Dave Peterson


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default *Between*

I would imagine that the developers didn't want it to.

F. Lawrence Kulchar wrote:

YOU ARE CORRECT...

WILDCARDS DO NOT WORK WITH...=IF(.....

Do you know why or why not?

FLKulchar

"Dave Peterson" wrote:

You don't _have_ to.

But it's one way of determining if honda is in A1 (even if it's surrounded by
other characters).

You could also use:
=if(isnumber(search("honda",a1)),"there","not there")

Change "search" to "find" if case is important.

But wildcards won't work in this:

=If(A1="*honda*", ....



F. Lawrence Kulchar wrote:

Why must you use the COUNTIF function?

Why NOT...=IF(A1="*honda*","there","not there")

Thanks,

FLKulchar

"Dave Peterson" wrote:

I would test that formula once more.

Maybe you meant:

=if(countif(a1,"*honda*")0,"is there","not there")



F. Lawrence Kulchar wrote:

I know that the term If(A1=*honda*,"IS THERE","NOT THERE") searches for the
word..."honda" anywhere within the text, etc., etc.

I was explained this yesterday...

HOWEVER, WHERE IN THE HELP MENU CAN I FIND THE EXPLANATION OF THIS??

Thanks,

FLKulchar

--

Dave Peterson


--

Dave Peterson


--

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



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