Help with a looking up a value

XLmuppet

New Member
Joined
Aug 13, 2014
Messages
17
Office Version
  1. 365
Platform
  1. Windows
I am looking for some assistance. I have two values, 1. Volume 2. Term. I would like to create a formula that for each row with these values i can look up the correct discount from the discount table, which is as follows:

Untitled Spreadsheet
VolumeTerm Discount (Years)
Fromto123
1100.0%5.0%7.5%
11205.0%7.5%10.0%
213010.0%12.5%15.0%
314015.0%17.5%20.0%
4110020.0%22.5%25.0%
101200025.0%27.5%30.0%


I need the result to take the volume and term values in a different table, establish which volume range row is applicable and then select the appropriate discount from the appropriate Term column.
All and any help gratefully received.

J
 

Attachments

  • Screenshot 2024-09-24 120319.png
    Screenshot 2024-09-24 120319.png
    55.6 KB · Views: 1

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How about
Excel Formula:
=INDEX($AL$7:$AN$12,XMATCH(F3,$AJ$7:$AJ$12,-1),XMATCH(I3,$AL$6:$AN$6))
 
Upvote 0

Forum statistics

Threads
1,222,622
Messages
6,167,103
Members
452,094
Latest member
Roberto Saveru

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