questforexcel
Board Regular
- Joined
- Jan 18, 2019
- Messages
- 128
- Office Version
- 2013
- Platform
- Windows
Hello,
I have a 2 D data (rows and columns) on Sheet 1 and I have specific values in Sheet 2.
I want my index match formula to return select from the range in Sheet 1 and the rows and columns in Sheet 2 to return the value specific to that combination.
=INDEX('Zone & Pricing Chart'!$L$5:$V$10,MATCH('Shipping Cost'!I7,'Zone & Pricing Chart'!$L$6:$L$10,0),MATCH('Shipping Cost'!H7,'Zone & Pricing Chart'!$L$5:$V$5,0))
Below is the formula that I used. But when I use it , it gives the following error: "#N/A"
Below is the data on my sheet 1.
[TABLE="width: 534"]
<tbody>[TR]
[TD][/TD]
[TD]Up To:[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]0.1[/TD]
[TD]$6.4[/TD]
[TD]$6.4[/TD]
[TD]$6.8[/TD]
[TD]$6.9[/TD]
[TD]$7.0[/TD]
[TD]$7.1[/TD]
[TD]$7.3[/TD]
[TD]$7.5[/TD]
[TD]$9.7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.2[/TD]
[TD]$6.8[/TD]
[TD]$6.8[/TD]
[TD]$7.1[/TD]
[TD]$7.2[/TD]
[TD]$7.5[/TD]
[TD]$7.9[/TD]
[TD]$8.2[/TD]
[TD]$8.5[/TD]
[TD]$11.3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.3[/TD]
[TD]$7.2[/TD]
[TD]$7.2[/TD]
[TD]$7.4[/TD]
[TD]$7.5[/TD]
[TD]$8.2[/TD]
[TD]$9.5[/TD]
[TD]$10.3[/TD]
[TD]$10.8[/TD]
[TD]$15.2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.4[/TD]
[TD]$7.3[/TD]
[TD]$7.3[/TD]
[TD]$7.7[/TD]
[TD]$8.3[/TD]
[TD]$9.1[/TD]
[TD]$11.5[/TD]
[TD]$12.5[/TD]
[TD]$14.2[/TD]
[TD]$19.4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]0.5[/TD]
[TD]$7.4[/TD]
[TD]$7.4[/TD]
[TD]$8.1[/TD]
[TD]$8.8[/TD]
[TD]$10.2[/TD]
[TD]$13.8[/TD]
[TD]$15.4[/TD]
[TD]$17.5[/TD]
[TD]$24.1[/TD]
[/TR]
</tbody>[/TABLE]
I saw on some posts , mentions to use Indirect method, when I tried using it, it gave the error "#VALUE".
Could you please help me fix thiss issue.
Thank you
I have a 2 D data (rows and columns) on Sheet 1 and I have specific values in Sheet 2.
I want my index match formula to return select from the range in Sheet 1 and the rows and columns in Sheet 2 to return the value specific to that combination.
=INDEX('Zone & Pricing Chart'!$L$5:$V$10,MATCH('Shipping Cost'!I7,'Zone & Pricing Chart'!$L$6:$L$10,0),MATCH('Shipping Cost'!H7,'Zone & Pricing Chart'!$L$5:$V$5,0))
Below is the formula that I used. But when I use it , it gives the following error: "#N/A"
Below is the data on my sheet 1.
[TABLE="width: 534"]
<tbody>[TR]
[TD][/TD]
[TD]Up To:[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]0.1[/TD]
[TD]$6.4[/TD]
[TD]$6.4[/TD]
[TD]$6.8[/TD]
[TD]$6.9[/TD]
[TD]$7.0[/TD]
[TD]$7.1[/TD]
[TD]$7.3[/TD]
[TD]$7.5[/TD]
[TD]$9.7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.2[/TD]
[TD]$6.8[/TD]
[TD]$6.8[/TD]
[TD]$7.1[/TD]
[TD]$7.2[/TD]
[TD]$7.5[/TD]
[TD]$7.9[/TD]
[TD]$8.2[/TD]
[TD]$8.5[/TD]
[TD]$11.3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.3[/TD]
[TD]$7.2[/TD]
[TD]$7.2[/TD]
[TD]$7.4[/TD]
[TD]$7.5[/TD]
[TD]$8.2[/TD]
[TD]$9.5[/TD]
[TD]$10.3[/TD]
[TD]$10.8[/TD]
[TD]$15.2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]0.4[/TD]
[TD]$7.3[/TD]
[TD]$7.3[/TD]
[TD]$7.7[/TD]
[TD]$8.3[/TD]
[TD]$9.1[/TD]
[TD]$11.5[/TD]
[TD]$12.5[/TD]
[TD]$14.2[/TD]
[TD]$19.4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]0.5[/TD]
[TD]$7.4[/TD]
[TD]$7.4[/TD]
[TD]$8.1[/TD]
[TD]$8.8[/TD]
[TD]$10.2[/TD]
[TD]$13.8[/TD]
[TD]$15.4[/TD]
[TD]$17.5[/TD]
[TD]$24.1[/TD]
[/TR]
</tbody>[/TABLE]
I saw on some posts , mentions to use Indirect method, when I tried using it, it gave the error "#VALUE".
Could you please help me fix thiss issue.
Thank you