Look up on X & Y Axis

chester_Muchea

New Member
Joined
Sep 3, 2017
Messages
2
I have a spreadsheet that I am trying to find multiple information.

Firstly I want to look up a number equal on the left hand column for floor length. Say I want a floor that is 10.3 long then I want it to grab the greater number, eg 10.5, then I want it to do the same across the other axis. eg. 3.5, therefore it would go to 3.6 and give me a cost of $5,200.

Secondary I need it then to go over to the 'Donuts required per slab' and pick the corresponding number, in this cast 4. I guess a Vlookup?

Thanks for you help

Floor Length3.003.303.453.604.204.80Donuts required per slab
16.0 $ - $ - $ - $ 6,200.00 $ - $ - 3.55.0
15.0 $5,300.00 $5,300.00 $5,350.00 $ 5,400.00 $ 5,500.00 $5,500.003.25.0
14.5 $5,300.00 $5,300.00 $5,350.00 $ 5,400.00 $ 5,500.00 $ - 3.15.0
14.4 $5,300.00 $5,300.00 $5,350.00 $ 5,400.00 $ 5,500.00 $ - 3.15.0
14.0 $5,250.00 $5,250.00 $5,300.00 $ 5,350.00 $ 5,450.00 $ - 3.04.0
13.5 $5,250.00 $5,250.00 $5,300.00 $ 5,350.00 $ 5,450.00 $ - 2.84.0
13.2 $5,200.00 $5,200.00 $5,250.00 $ 5,300.00 $ 5,400.00 $ - 2.84.0
13.0 $5,200.00 $5,200.00 $5,250.00 $ 5,300.00 $ 5,400.00 $ - 2.74.0
12.5 $5,200.00 $5,200.00 $5,250.00 $ 5,300.00 $ 5,400.00 $ - 2.64.0
12.0 $5,150.00 $5,150.00 $5,200.00 $ 5,250.00 $ 5,350.00 $ - 2.54.0
11.5 $5,150.00 $5,150.00 $5,200.00 $ 5,250.00 $ 5,350.00 $ - 2.34.0
11.0 $5,100.00 $5,100.00 $5,150.00 $ 5,200.00 $ 5,300.00 $ - 2.24.0
10.8 $5,100.00 $5,100.00 $5,150.00 $ 5,200.00 $ 5,300.00 $ - 2.24.0
10.5 $5,100.00 $5,100.00 $5,150.00 $ 5,200.00 $ 5,300.00 $ - 2.14.0
10.0 $5,050.00 $5,050.00 $5,100.00 $ 5,150.00 $ 5,250.00 $ - 2.03.0
9.6 $5,050.00 $5,050.00 $5,100.00 $ 5,150.00 $ 5,250.00 $ - 1.93.0
9.5 $5,050.00 $5,050.00 $5,100.00 $ 5,150.00 $ 5,250.00 $ - 1.83.0
9.0 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.73.0
8.5 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.63.0
8.4 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.63.0
8.0 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.53.0
7.5 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.33.0
7.2 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.33.0
7.0 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.23.0
6.5 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.13.0
6.0 $5,000.00 $5,000.00 $5,050.00 $ 5,100.00 $ 5,200.00 $ - 1.02.0

<colgroup><col><col span="3"><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Let K2 house 10.3, a (row) look up value of interest.

Let L2 house 3.5, a (column/header) look up value of interest.

In M2 enter:

=VLOOKUP(INDEX($A$2:$A$27,MATCH($K2,$A$2:$A$27,-1)),$A$2:$G$27,1+MATCH(INDEX($B$1:$G$1,MATCH($L2,$B$1:$G$1,1)+(LOOKUP($L2,$B$1:$G$1) < $L2)),$B$1:$G$1,0),0)

And, by the way, care to describe how you obtain 4 from the range in H:I?
 
Upvote 0
Let K2 house 10.3, a (row) look up value of interest.

Let L2 house 3.5, a (column/header) look up value of interest.

In M2 enter:

=VLOOKUP(INDEX($A$2:$A$27,MATCH($K2,$A$2:$A$27,-1)),$A$2:$G$27,1+MATCH(INDEX($B$1:$G$1,MATCH($L2,$B$1:$G$1,1)+(LOOKUP($L2,$B$1:$G$1) < $L2)),$B$1:$G$1,0),0)

And, by the way, care to describe how you obtain 4 from the range in H:I?


That works perfectly.

In relation to the 2nd part of the question. What ever the answer is from the first part, i need to then go to column 'I' and find the number. Column 'H' is not important for the answer.

Again, thank you for your help
 
Upvote 0
That works perfectly.

Great.

In relation to the 2nd part of the question. What ever the answer is from the first part, i need to then go to column 'I' and find the number. Column 'H' is not important for the answer.

Not sure I'm getting this. Do you mean something like the following?

=VLOOKUP(INDEX($A$2:$A$27,MATCH($K2,$A$2:$A$27,-1)),$A$2:$I$27,9,0)

Again, thank you for your help

You are welcome.
 
Upvote 0

Forum statistics

Threads
1,214,863
Messages
6,121,978
Members
449,058
Latest member
oculus

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