#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default MATCH function?

greetings, i have fairly simple problem that i can't figure out. have single
cell which has text, and a column of zero, one, or up to twenty text entries
which i want to compare to the single cell and tell me if there's a match.
however, in the column, would like to be able to make entry with a wildcard,
e.g., Yes *, or Yes ??% so that if the single cell had Yes 10% or Yes 15%
would return a match. any help greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default MATCH function?

I'm not clear on how you want this to be displayed, but if you'd like
to have a flag that shows if a word is in a cell you can test with
FIND:
=IF(ISERROR(FIND("Yes",E4)),"","Match")

Note that Yes we can, The Eyes of Laura Mars, and Yesterday would all
generate the Match condition.

You can limit it to the first 3 characters only:
=IF(ISERROR(FIND("Yes",LEFT(E4,3))),"","Match")

If you're worried about the Yesterday issue you can include a space
(or comma, etc):
=IF(ISERROR(FIND("Yes ",LEFT(E5,4))),"","Match")


On Jun 9, 2:51 pm, mwam423 wrote:
greetings, i have fairly simple problem that i can't figure out. have single
cell which has text, and a column of zero, one, or up to twenty text entries
which i want to compare to the single cell and tell me if there's a match.
however, in the column, would like to be able to make entry with a wildcard,
e.g., Yes *, or Yes ??% so that if the single cell had Yes 10% or Yes 15%
would return a match. any help greatly appreciated!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default MATCH function?

Hi,
By using the FIND function, you won't need wildcards because it searches the
text for any occurrence of the desired text.

If your words are in Column A, starting A3, and your word to find is in A1,
enter this into B3 and copy down.

=IF(ISNUMBER(FIND($A$1,A3)),"Bing!","")

Regards - Dave.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default MATCH function?


hi dave and reitanos, this addresses the Yes and some percent issue but
ignores the other text entries which could be in the column. say my column
has these entries: N, P, Y 10%, and Y*. my single cell, which changes, might
be N, then Y, then O, then Y 50%, then P. and my formula should return: true
or 1, 1, 0, 1,1.

would like a formula which can test for all entries (as many as twenty) in
the column as value in single cell changes. hope that's more clear.
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
how can we get unique values in match function for same match key. Xcel[_2_] Excel Worksheet Functions 11 December 7th 07 08:13 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Match as well as does not match array function Vikram Dhemare Excel Discussion (Misc queries) 7 April 25th 06 09:15 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 04:07 PM.

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

About Us

"It's about Microsoft Excel"