Vlookup with Search function

stevie2612

New Member
Joined
May 25, 2021
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi All

I have two tables i am trying to look up one for the other.

Table A is a list of licenses by Country with the Product names for each.

Table B is a list of the Product sales. The same Product code can be sold in different countries are in same cell separated by a semi colon.

Does anyone know how i can bring the sales into the license table?

Thanks
 

Attachments

  • Capture_Excel.PNG
    Capture_Excel.PNG
    11.9 KB · Views: 12

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

You could test in cell C5
=IF(ISNUMBER(SEARCH("*"&B5&"*",$G$6:$G$10)),INDEX($H$6:$H$10,MATCH("*"&B5&"*",$G$6:$G$10,0)),0)
 
Upvote 0
@James006 thanks i am getting a spill error when i enter in Cell C5.

I wasn't fully clear either I need to bring in the product as well into the formula as for Example Product C may have a License in Australia as well.
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,309
Members
449,095
Latest member
Chestertim

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