ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   *Between* (https://www.excelbanter.com/excel-programming/373291-%2Abetween%2A.html)

F. Lawrence Kulchar

*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

Nigel

*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




Dave Peterson

*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

F. Lawrence Kulchar

*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


Dave Peterson

*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

F. Lawrence Kulchar

*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


Dave Peterson

*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


All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com