Comparing List and returning value

fireguard

New Member
Joined
Jan 27, 2015
Messages
17
Greetings all,
I would like to get some advice on the following
First I Input two values at cells B2(time) and B3(wavelength)
The two values would than be matched against two columns to return a third and recorded in cell L2.
In the example below, B2=1, B3=3. The values in column I and J would be compared so that the value recorded in cell L2 would equal 30.
cell B2 = 1
cell B3 = 3

I J K
ג time Value
1 1 30000000000
1 2 30000000000
1 3 30
1 4 40
1 5 50
1 6 60
1 7 70
1 8 40
1 9 60


I have tried several options but seem to fall short.
Your assistance would be greatly appreciated.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Are you trying to say that I must equal B2 and J must equal B3?

Hi
Thanks for the reply
In the bigger scheme, B2 allows the person to enter any between 1-12. At present I have limited to 1

B3 allows the person to enter a number between 1-9.
column I would match the number 1 (in this example they all equal 1)against column J, so that the combination of 1 in column I and 3 in column J would return a value of 30 from column K. This number from column K would then be displayed in cell L2.

Hope this helps

I appreciate any assistance you could offer.
 
Upvote 0
Assuming your data from Row 2 to 10
L2=sumproduct((i2:i10=b2)*(j2:j10=b3)*(k2:k10))
 
Last edited:
Upvote 0
Is the answer is yes? I think it is.

Control+shift+enter, not just enter.

=INDEX($K$2:$K$100,MATCH(B2,IF($J$2:$J$100=B3,$I$2:$I$100),0))
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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