• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VLookup with Multiple Values and Wild Card

OAhmed

New Member
Hi,

I am able to do VLookup with Multiple Values, but unable to solve with wild card. Example below:

SUBJACCTOBJECTIVEOpening BalanceAPRMAYJUN
‭351800-CAPITAL GRANTS UNAPPLIED‬‭8300-CLGX_GG_CGUZ_SAFER & STRONGER BUILDINGS‭999999-DEFAULT‬-2,457.233,456.872,786.194,001.23
‭351800-CAPITAL GRANTS UNAPPLIED‬‭8301-OTHR_NG_CGUZ_ST STEPHEN GARDENS‭999999-DEFAULT‬-62,992.0029,872.0937,610.4010,982.82
‭517680-FEES AND CHARGES OTHER - NON VATABLE‬‭8302-OTHR_GG_CGUZ_PHOTO SHOOT‭150005-COUNTRY SHOW-97,504.8030,981.8738,761.0844,871.86
CRITERIA 1CRITERIA 2CRITERIA 3VLOOKUP VALUE
351800​
8300​
999999​
2786.19​
 
The solution I can think of is to extract the numbers from the text & concatenate them,
concatenate the criteria as well,
A Single Vlookup with give you the answer.
 
In M2, formula :

=INDEX($E$2:$G$4,INDEX(MATCH($I2&"*"&$J2&"*"&$K2&"*",$A$2:$A$4&$B$2:$B$4&$C$2:$C$4,0),0),MATCH($L2,$E$1:$G$1,0))


66196

Regards
 
Back
Top