ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   wildcard in formula vlookup (https://www.excelbanter.com/excel-discussion-misc-queries/110800-wildcard-formula-vlookup.html)

Michael

wildcard in formula vlookup
 
I want to use the formula
"RIGHT(A33,LEN(A33)-FIND(":",A33))" in a vlookup to find a text string and
utilize a wildcard function to retrieve the field.

Example vlookup("*Accrual*",'Field Service'!C:D,2,false)

Please help!

Thanks!



JMB

wildcard in formula vlookup
 
Try:
=INDEX('Field Service'!D:D, MATCH("*Accrual*", 'Field Service'!C:C, 0))

Or, if I understand what you're truly looking for correctly:
=INDEX('Field Service'!D:D, MATCH("*"&RIGHT(A33,LEN(A33)-FIND(":",A33))&"*",
'Field Service'!C:C, 0))


"Michael" wrote:

I want to use the formula
"RIGHT(A33,LEN(A33)-FIND(":",A33))" in a vlookup to find a text string and
utilize a wildcard function to retrieve the field.

Example vlookup("*Accrual*",'Field Service'!C:D,2,false)

Please help!

Thanks!




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

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