I'm working on a spreadsheet and have run into a issue using Two-way lookup with INDEX and MATCH. If the value is not in the table, I need excel to use the next highest value. Below is the formula I'm using.
=INDEX('LarsonTable'!B4:K54,MATCH(Work!F20,'LarsonTable'!A4:A54,1),MATCH(Work!F16,'LarsonTable'!B3:K3,1))
This formula is not showing the next highest number
<colgroup><col style="width:48pt" width="64" span="4"> <col style="mso-width-source:userset;mso-width-alt:4022;width:83pt" width="110"> </colgroup><tbody>
[TD="class: xl66, width: 192, colspan: 3"]Frame
United Inches
[/TD]
[TD="class: xl69, width: 174, colspan: 2"]7/8
25
[/TD]
[TD="class: xl66, colspan: 3"]Width of Molding in Inches
[/TD]
[TD="class: xl71, colspan: 2"]4.7[/TD]
</tbody>
Since 7/8 or 25 is not in the table, I need the formula to use 26 and 5.7, but current it's using 24 and 4.7
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]1/2"
[/TD]
[TD]1"
[/TD]
[/TR]
[TR]
[TD]24 Feet
[/TD]
[TD]4.7
[/TD]
[TD]5.0
[/TD]
[/TR]
[TR]
[TD]26 Feet
[/TD]
[TD]5.3
[/TD]
[TD]5.7[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
=INDEX('LarsonTable'!B4:K54,MATCH(Work!F20,'LarsonTable'!A4:A54,1),MATCH(Work!F16,'LarsonTable'!B3:K3,1))
This formula is not showing the next highest number
<colgroup><col style="width:48pt" width="64" span="4"> <col style="mso-width-source:userset;mso-width-alt:4022;width:83pt" width="110"> </colgroup><tbody>
[TD="class: xl66, width: 192, colspan: 3"]Frame
United Inches
[/TD]
[TD="class: xl69, width: 174, colspan: 2"]7/8
25
[/TD]
[TD="class: xl66, colspan: 3"]Width of Molding in Inches
[/TD]
[TD="class: xl71, colspan: 2"]4.7[/TD]
</tbody>
Since 7/8 or 25 is not in the table, I need the formula to use 26 and 5.7, but current it's using 24 and 4.7
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]1/2"
[/TD]
[TD]1"
[/TD]
[/TR]
[TR]
[TD]24 Feet
[/TD]
[TD]4.7
[/TD]
[TD]5.0
[/TD]
[/TR]
[TR]
[TD]26 Feet
[/TD]
[TD]5.3
[/TD]
[TD]5.7[/TD]
[/TR]
</tbody>[/TABLE]
Thanks