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: 16

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,223,626
Messages
6,173,415
Members
452,514
Latest member
cjkelly15

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