LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Match with tilda characater

Hello all,

I was trying to use the Match function in a VBA module (I hate VBA).
Match was failing unexpectedly.

I evenetually tracked down one issue (using Match in a normal worksheet
not in a module).

If the tilda ('~') character is in the cell I am trying to match I will
not get a match.

I tested this by:
1) making a small column array from A1:A6
a
b
c
d
e
f

2) In cell B1 entered 'c'
3) In cell C3 entered '=Match(B1, A1:A6, 0)' - the correct result of 3
appeared in cell C3
4) I edited cell A4 to 'd~' and copied and pasted this cell to cell B1 -
no match returned #N/A

I tried other forms such as '~d' etc and they failed. I didn't try many
other unusual characters.

A simple =IF function did say the cells were the same.

Is there any way of dealing with this in my script and/or on a worksheet
(otehr than the obvious iteration over all elements and test with For and
If statements).

Thanks,
Ian
 
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
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 22nd 05 01:41 PM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 19th 05 09:27 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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