Index and match without wildcard

Xurun

New Member
Joined
Jul 20, 2022
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I have a pretty straightforward job, match a value on a table and retrieve a value with the index function.

'°; '.; '<; '(; '+; '!; '&; ']; '$; '*; '); ';; '-; '/; 'À; 'Ç; ',; '%; '_; '>; '?; 'È; 'Ì; ':; '£; '§; ''; '=; '"; '[

but the data to match it's full of a wildcard ?,*;', etc so when I need to match exactly on the other table, it doesn't retrieve the wrong data.

I tried to put the tide in front of the * wildcard, but for some reason, it doesn't work.

what I need to do is to set the match command to see just plain text and not as wildcards.

Thank you.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Does this help at all ?

20220720 Wildcard Symbol Matches Xurun.xlsm
ABCDE
1Search ColumnCodeMatch resultMatch Type Formula
2
3THIS A * TEST3Wildcard=MATCH("*~**",A:A,0)
43Wildcard=MATCH("*~" & CHAR(42) &"*",A:A,0)
5
6*426Exact=MATCH("~*",A:A,0)
76Exact=MATCH("~" & CHAR(42),A:A,0)
8
9
10test this value À content10Wildcard=MATCH("*"&CHAR(192)&"*",A:A,0)
11À19211Exact=MATCH(CHAR(192),A:A,0)
Sheet3
Cell Formulas
RangeFormula
C3C3=MATCH("*~**",A:A,0)
C4C4=MATCH("*~" & CHAR(42) &"*",A:A,0)
E3:E4,E10:E11,E6:E7E3=FORMULATEXT(C3)
B6,B11B6=CODE(A6)
C6C6=MATCH("~*",A:A,0)
C7C7=MATCH("~" & CHAR(42),A:A,0)
C10C10=MATCH("*"&CHAR(192)&"*",A:A,0)
C11C11=MATCH(CHAR(192),A:A,0)
 
Upvote 0
1658320636179.png


1658320651772.png


xl2bb doesnt work for me, i dont have time to figure it out why.

the formula is in my language but it's a simple index and match.

as you can see I suppose that the formula find a value based of the wildcard inside the cell.

I dont want that i want find the same 2 charts value on the table on the right.

thx
 
Upvote 0
I am sorry but I don't understand what you are trying to say.
In column A you have '* are you searching for both characters
Does * only appear once in column E ? If that is the case formulas I gave you should work.
 
Upvote 0
I am sorry but I don't understand what you are trying to say.
In column A you have '* are you searching for both characters
Does * only appear once in column E ? If that is the case formulas I gave you should work.
Im sorry for my broken english.

in the end i solved my problem by converting the charts in number using the formula CODE()

Now instead of matching the symbols I am matching the numbers. Not great but its work as I want.

thank you.

1658325441357.png
 
Upvote 0
Solution

Forum statistics

Threads
1,215,356
Messages
6,124,475
Members
449,164
Latest member
Monchichi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top