if area between and numbe rof bedroom then value

cjharley1450

New Member
Joined
Nov 24, 2015
Messages
9
Hi All
I am trying to do the following
If area required is 83, with 3 bedrooms. then the value required is 60000

a B C D E F G H

1 areas bedrooms
2 1 2 3 4 5
3 0 50 35000 40000 50000 60000 65000
4 51 60 35000 40000 50000 60000 65000
5 61 70 45000 45000 50000 60000 65000
6 71 80 50000 50000 50000 60000 65000
7 81 90 55000 60000 60000 60000 65000
8 91 100 65000 60000 65000 60000 65000


area bedrooms value
82 3 60000
how do i do this, completely lost
 

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.
Assuming I got your data lined up properly, this should work:

ABCDEFGHIJKLM
1areasbedroomsareabedroomsvalue
21234582360000
310503500040000500006000065000
4251603500040000500006000065000
5361704500045000500006000065000
6471805000050000500006000065000
7581905500060000600006000065000
86911006500060000650006000065000
97
108
11

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
M2=INDEX(D3:H8,MATCH(K2,B3:B8),MATCH(L2,D2:H2))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
assuming i got your data lined up properly, this should work:

abcdefghijklm
1areasbedroomsareabedroomsvalue
21234582360000
310503500040000500006000065000
4251603500040000500006000065000
5361704500045000500006000065000
6471805000050000500006000065000
7581905500060000600006000065000
86911006500060000650006000065000
97
108
11

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
sheet2

worksheet formulas
cellformula
m2=index(d3:h8,match(k2,b3:b8),match(l2,d2:h2))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

thanks, worked a treat buddy
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,286
Members
449,218
Latest member
Excel Master

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