Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to use a 'contains' formula in excel which would return TRUE or
FALSE, however I can' t seem to find one.. Can anyone create a simple Function Procedure that I can use in excel which would take two inputs, and compare them to see whether one string is contained in the other and return TRUE or FALSE if there is a match back to the spreadsheet? Many thanks Rich |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I should add that it should be able to handle a formula something like
this.. =CONTAINS(OR(A1,A2,A3,A4),B1) Where B1 is the reference cell, and the cells being checked are A1,A2,A3 etc or alternatively =OR(CONTAINS(A1,B1),CONTAINS(A2,B1)) etc ..... "Rich" wrote in message ... I would like to use a 'contains' formula in excel which would return TRUE or FALSE, however I can' t seem to find one.. Can anyone create a simple Function Procedure that I can use in excel which would take two inputs, and compare them to see whether one string is contained in the other and return TRUE or FALSE if there is a match back to the spreadsheet? Many thanks Rich |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try functions:
FIND case sensitive SEARCH case insensitive alas.. as most excel functions.. instead of returning a 0 if not found it returns Value#.. so wrap in if(iserror(),,) -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Rich wrote : I would like to use a 'contains' formula in excel which would return TRUE or FALSE, however I can' t seem to find one.. Can anyone create a simple Function Procedure that I can use in excel which would take two inputs, and compare them to see whether one string is contained in the other and return TRUE or FALSE if there is a match back to the spreadsheet? Many thanks Rich |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When I enter a formula, Excel shows the formula not the results | Excel Worksheet Functions | |||
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible | Excel Discussion (Misc queries) | |||
Build excel formula using field values as text in the formula | Excel Worksheet Functions | |||
Excel 2002 formula displayed not value formula option not checked | Excel Worksheet Functions | |||
i edit a formula (excel) then it displays formula not answer | Excel Discussion (Misc queries) |