Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 44
Default Like operator as a worksheet-function

Hi

Is it possible to use the Like operator as a worksheet-function?

Tom


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Like operator as a worksheet-function

Hi Tom,

The Search() function enables you to do this.
It is using a limited number of metacharacters: * and ?

Regards,

Daniel M.

"Tom" wrote in message
...
Hi

Is it possible to use the Like operator as a worksheet-function?

Tom




  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 44
Default Like operator as a worksheet-function

Daniel

I'd like to make a worksheet function like this:

=If(B1 Like "##/###", True, False)

Tom



"Daniel.M" schrieb im Newsbeitrag
...
Hi Tom,

The Search() function enables you to do this.
It is using a limited number of metacharacters: * and ?

Regards,

Daniel M.

"Tom" wrote in message
...
Hi

Is it possible to use the Like operator as a worksheet-function?

Tom






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Like operator as a worksheet-function

Tom,

You can't do it that way. However, you can use the * and ?
wildcard characters in a COUNTIF, so try something like

=IF(COUNTIF(B1,"??/???"),TRUE,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Tom" wrote in message
...
Daniel

I'd like to make a worksheet function like this:

=If(B1 Like "##/###", True, False)

Tom



"Daniel.M" schrieb im

Newsbeitrag
...
Hi Tom,

The Search() function enables you to do this.
It is using a limited number of metacharacters: * and ?

Regards,

Daniel M.

"Tom" wrote in message
...
Hi

Is it possible to use the Like operator as a

worksheet-function?

Tom








  #5   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 38
Default Like operator as a worksheet-function

Thank you!


"Chip Pearson" schrieb im Newsbeitrag
...
Tom,

You can't do it that way. However, you can use the * and ?
wildcard characters in a COUNTIF, so try something like

=IF(COUNTIF(B1,"??/???"),TRUE,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Tom" wrote in message
...
Daniel

I'd like to make a worksheet function like this:

=If(B1 Like "##/###", True, False)

Tom



"Daniel.M" schrieb im

Newsbeitrag
...
Hi Tom,

The Search() function enables you to do this.
It is using a limited number of metacharacters: * and ?

Regards,

Daniel M.

"Tom" wrote in message
...
Hi

Is it possible to use the Like operator as a

worksheet-function?

Tom












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Like operator as a worksheet-function

"Tom" wrote...
Is it possible to use the Like operator as a worksheet-function?


Not unless you wrap it in a UDF. See

http://www.google.com/groups?selm=uP...icros oft.com

--
Never attach files.
Snip unnecessary quoted text.
Never multipost (though crossposting is usually OK).
Don't change subject lines because it corrupts Google newsgroup archives.
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
"IN Operator" using Match function.... [email protected] Excel Worksheet Functions 2 January 9th 09 09:25 PM
How to use a cell value as operator in a worksheet reference? JRP2003 Excel Worksheet Functions 2 August 14th 06 06:24 PM
hOW TO USE THE AND OPERATOR WITH THE COUNTIF FUNCTION Marty Excel Worksheet Functions 1 November 11th 04 09:45 PM
Excel's range Union operator in WORKDAY function gives #VALUE!. Rod Morrell Excel Programming 0 October 9th 03 02:59 PM
Method? Function? Operator? I dunno ): Michael Smith Excel Programming 0 September 5th 03 09:47 PM


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

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"