Display cell value when parameters are between rows and column min max values

Bobk2023

New Member
Joined
Sep 13, 2022
Messages
4
Office Version
  1. 2021
Platform
  1. Windows
Trying to get excel formula to display cell value when width is = to 34.25 and Height is = to 31.2
Column A is Min Width, Column B is Max Width, Row 2 is Min Height and Row 3 is Max Height.

I can get one or the other but not both.
 

Attachments

  • Scan_20220922.jpg
    Scan_20220922.jpg
    136 KB · Views: 4

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Which width to consider from col A or from Colum B? to get desired result?

and same question for height.
 
Upvote 0
Which width to consider from col A or from Colum B? to get desired result?

and same question for height.
The formula needs to find the value of the width of 34.25 from rows A-5 thru B-16, and the value of the height of 31.2 from columns D-2thru I-3 and display the value in the cell that meets the result.
Since Width is 34.25 the row that is within the range that matches the value is row 13,
Since Height is 31.2 the column that matches range of the height is in column M
Display intersecting cell = M13 value of 15-6
I hope this clears things up.
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGHI
1
2121416182022
3
4
517.57-17-17-17-27-27-2
619.58-18-18-28-28-28-2
721.59-19-19-29-29-29-3
823.510-110-210-210-210-210-2
925.5
1027.5
1129.5
1231.5
1333.5
1435.5
1537.5
1639.5
17
18
1922.43
2021.59-2
21
Main
Cell Formulas
RangeFormula
C20C20=INDEX(D5:I16,MATCH(B19,A5:A16,1),MATCH(B20,D2:I2,1))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,996
Messages
6,122,636
Members
449,092
Latest member
bsb1122

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