That formula was for exact matches.
Try this. It does approximate matches which means the Heights and Widths must be sorted ascending.
=INDEX($B$4:$R$17,MATCH(D22,$A$4:$A$17,1),MATCH(C22,$B$3:$R$3,1))
If the Height you have is 40 inches it will return figures for 45 inches. Same for the Widths.
Edit No it won't. It will return figures for 39 inches.
If you want it to return figures for the 45 inch row array enter this formula
Formula:
=INDEX($B$4:$R$17,MATCH(1,1/($A$4:$A$17>=D22),0),MATCH(1,1/($B$3:$R$3>=C22),0))
If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Bookmarks