ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Wildcard string (https://www.excelbanter.com/excel-discussion-misc-queries/56737-wildcard-string.html)

Robo

Wildcard string
 

Can I use vlookup to find a wildcard text string

ie =vlookup(*a2*,data_range,2,false)

If not vlookup, is there an alternative?

Thanks

Robo


--
Robo
------------------------------------------------------------------------
Robo's Profile: http://www.excelforum.com/member.php...o&userid=12058
View this thread: http://www.excelforum.com/showthread...hreadid=487236


mdbct

Wildcard string
 

You ned to concatenate your *s to the cell reference. Your formula would
be:
=vlookup("*"& A2 & "*", data_range,2,false)


--
mdbct
------------------------------------------------------------------------
mdbct's Profile: http://www.excelforum.com/member.php...o&userid=28733
View this thread: http://www.excelforum.com/showthread...hreadid=487236


Robo

Wildcard string
 

Thanks very much!!

Robo


--
Robo
------------------------------------------------------------------------
Robo's Profile: http://www.excelforum.com/member.php...o&userid=12058
View this thread: http://www.excelforum.com/showthread...hreadid=487236



All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com