Selected a cell depending on 2 factors

Josh88

New Member
Joined
Sep 7, 2017
Messages
15
Hi,

I have 2 elements that I would like to use to find the final result. I have quantity and length, upon which I am looking for price per unit. Here is a table of the information with quantity along the X axis and length down the Y:
2500500010,00015,000
78m0.760.730.710.70
90m0.840.810.790.78
92m0.850.820.810.80

<tbody>
</tbody>


I would like to have an automated calculation whereby I can build a basic info box containing the number of units required and their length, and the matching unit price is inserted.

Number of Units5000
Length90m
Price per unit -???-

<tbody>
</tbody>



Thank you very much Excel wizards!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi,

I have 2 elements that I would like to use to find the final result. I have quantity and length, upon which I am looking for price per unit. Here is a table of the information with quantity along the X axis and length down the Y:
2500500010,00015,000
78m0.760.730.710.70
90m0.840.810.790.78
92m0.850.820.810.80

<tbody>
</tbody>


I would like to have an automated calculation whereby I can build a basic info box containing the number of units required and their length, and the matching unit price is inserted.

Number of Units5000
Length90m
Price per unit -???-

<tbody>
</tbody>



Thank you very much Excel wizards!

=INDEX(Sheet1!$B$2:$E$4,MATCH(B2,Sheet1!$A$2:$A$4,0),MATCH(B1,Sheet1!$B$1:$E$1,0))

where the first table is in Sheet1
 
Upvote 0
Thanks,
So if both tables are in the same sheet, I can simply remove the Sheet1! ​?
 
Upvote 0

Forum statistics

Threads
1,216,756
Messages
6,132,535
Members
449,733
Latest member
Nameless_

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