SOLVED

VLOOKUP - not available

Copper Contributor

Hey.

I have some codes, which I selled in some orders.

I have them in cells with some additional text.

 

I need to use =vlookup (in czech =svyhledat) to write to the codes, that they were sold in order 20230387, but its not working.

 

that one cell, which is "NENI K DISPOZICI" its "Not available" in english.

normally the command works, when I write it as

 

TheWeetek_6-1685397384908.png

 

TheWeetek_5-1685397369162.png

 

you might see, that when I write it just like this, it works (without the text), so I guess, error is in the "*"&A16&"*" ; but I don't know, how to write it.

 

 

TheWeetek_4-1685397290199.png

 

 

any help? thanks

 

2 Replies
best response confirmed by TheWeetek (Copper Contributor)
Solution

@TheWeetek Use `XLOOKUP()` instead with wild card matching option.

=XLOOKUP("*"&A17&"*",A14,B14,,2)

 Harun24HR_0-1685414698281.png

 

Thanks, working for me.
1 best response

Accepted Solutions
best response confirmed by TheWeetek (Copper Contributor)
Solution

@TheWeetek Use `XLOOKUP()` instead with wild card matching option.

=XLOOKUP("*"&A17&"*",A14,B14,,2)

 Harun24HR_0-1685414698281.png

 

View solution in original post