Index/Match/Vlookup formula problems

Glaswegian

Well-known Member
Joined
Oct 14, 2003
Messages
1,487
I'm using the matrix below to produce and rate that users should charge their customers. A, B, C and D are 'segments' and 1-16 represents the customer rating. Thus a customer rated as 6 and segment B would be charged 3.00. Users input the segment and rating into 2 separate cells.
credit submission v2.xls
ZAAABACAD
5ABCD
612.002.002.753.00
722.252.252.753.00
832.252.503.003.25
942.252.503.253.50
1052.502.753.503.50
1163.003.003.504.00
1273.003.003.754.00
1383.003.003.754.25
1493.253.254.004.50
15103.253.504.504.75
16113.503.754.755.50
17123.754.006.0010.00
18134.004.807.5012.75
19144.256.259.7516.75
20154.807.5011.7520.50
21166.009.0013.5022.50
DFAS



Based on the user input I have tried to come up with a formula to put the correct rate into a cell, but my formula attempts are not working. So far I've tried
=INDEX(AA5:AD21,MATCH(S6,Z6:AD21,0),MATCH(S7,AA5:AD5,0))

and

=VLOOKUP(S6,Z5:AD21,MATCH(S7,AA5:AD5,0),FALSE)

but with no success. Could someone kindly point out what I'm doing wrong?

Regards
 
Hi,

you just have the ranges a little bit of.

Use the VLOOKUP and change it to:

=VLOOKUP(S6,Z6:AD21,MATCH(S7,Z5:AD5,0),0)
 
Upvote 0

Forum statistics

Threads
1,226,812
Messages
6,193,116
Members
453,777
Latest member
Miceal Powell

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