Populate row based on reference table...?

cloobless

Board Regular
Joined
Jul 15, 2014
Messages
77
Office Version
  1. 2010
Platform
  1. Windows
1. In AO1:AT22, I have a grid of reference data.
--The data in these cells are calculated and reference values in other places in the worksheet.

StepIncrCostPriceTicksRatio
0.10%​
0.10%$0.81$1.131130.01
0.20%$0.81$2.262260.02
0.30%$0.81$3.383380.03
0.40%$0.81$4.514510.04
0.50%$0.81$5.645640.06
0.60%$0.81$6.776770.07
0.70%$0.82$7.897890.08
0.80%$0.82$9.029020.09
0.90%$0.82$10.1510150.10
1.00%$0.82$11.2811280.11
1.10%$0.82$12.4112410.12
1.20%$0.82$13.5313530.13
1.30%$0.82$14.6614660.14
1.40%$0.82$15.7915790.16
1.50%$0.82$16.9216920.17
1.60%$0.82$18.0418040.18
1.70%$0.82$19.1719170.19
1.80%$0.82$20.3020300.20
1.90%$0.83$21.4321430.21
2.00%$0.83$22.5622560.22



2. In W1:Z5, I have my work area.
---The value in INCR is a static value that I type in.
---The values in COST, PRICE, and TICKS cells should be populated from the reference table above.
IncrCostPriceTicks
2.00%$0.83$22.562256
1.80%$0.82$19.171917
1.10%$0.82$16.921692


Problem:
What I would like to do is when I type a target value in the "Incr" column in my work area, it will automatically do a lookup in the reference table to exactly match the Incr value and then automatically fill in the corresponding COST, PRICE, and TICKS cells for that row. So I want the value I input in "Incr" to drive the lookup for the columns to the right.

Any help or suggestions would be greatly appreciated. Thank you for taking a look.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,757
Office Version
  1. 365
Platform
  1. Windows
It's probably due to rounding errors, try
Excel Formula:
=INDEX(AL$1:AL$22,MATCH(ROUND($W2,2),ROUND($AK$1:$AK$22,2),0))
 
Solution

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

cloobless

Board Regular
Joined
Jul 15, 2014
Messages
77
Office Version
  1. 2010
Platform
  1. Windows
This one truly does work (so did the other, but this referenced the full row correctly!) Thank you, again.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,757
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,176,238
Messages
5,902,089
Members
434,939
Latest member
MrDrock

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
Top