Vlookup with multiple column criteria

dpchheda

New Member
Joined
Oct 31, 2011
Messages
10
Hi All, I need some help. I am trying to automate credit control function in a company. Amount of credit allowed to a customer depends on the length of relationship and will have different approval levels. However, Index and match isn't exactly helping with the situation. For example, if year is 21B and credit limit is USD 70k, approval level should be FM in the screenshot below. Am I using incorrect formula? Is there better way to achieve this?
 

Attachments

  • MrExcel.PNG
    MrExcel.PNG
    10.8 KB · Views: 32

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I am using Office 365 so I have XLOOKUP, so I can only help with how I would do this.
In XLOOKUP you can use 2 lookup values, and 2 lookup arrays, just need to make sure match mode is not set to "exact match".

Hopefully this might help you in resolving the issue until someone with more knowledge with your method can help.
 

Attachments

  • image_2021-10-04_183006.png
    image_2021-10-04_183006.png
    16.9 KB · Views: 32
Upvote 0
Solution
Change your formula

=INDEX($C$2:$C$5,MATCH(F1&F2,$A$2:$A$5&$B$2:$B$5,-1))
 
Upvote 0
Hi Mummo and Sufiyan,

Your suggestions were helpful especially XLOOKUP which I was not aware about. Thanks for your replies.

Thanks & Regards
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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