Check for certain values and make a new

elmnas

Board Regular
Joined
Feb 20, 2015
Messages
206
Hello all VB Members,

I should need help with a code,
The thing is I have got a workbook that contains two sheets “Statistics” and “Prices”
and I need a function that check for certain values.
For each Row in Sheet “Statistics” Check the values in each row for Column H and I and J
Example:
H1:SWE
I1:GER
J1:25
Picture(Sheet Statistics)
GjKiYEh.png


(all these 3 values are on same row (Row1))

For Each Row in Sheet “Prices” Check for the values but in this case instead SWE=(Column A) and Ger (Column B)
When found multiple the value 25 (Column J1, Sheet “Statistics”) * G1:3 (Sheet”Prices”)
Represent the result in Sheet “Statistics” same row but Column “N1”
Picture (Sheet Prices)
je6hOkQ.png


The thing is…
As the example I showed you (H1:SWE) and (i1:GER)
those values can be anything as so long they match the same values in sheet “prices”
Could someone help me ?
Thank you in advance
 

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