vlookup with true range lookup

scorpidxls

New Member
Joined
Sep 8, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
hi, could you all help me with this case. I have a multiple prod code and a tiering interest rate table, and I would like to lookup to that table
cd amount rate
383-0.00%
383100,000,0001.50%
383500,000,0002.50%
422-0.00%
42250,000,0000.05%
422100,000,0000.10%
422500,000,0000.20%
4221,000,000,0000.30%
425-0.00%
425500,000,0000.50%
42510,000,000,0001.00%
42525,000,000,0003.00%


for an example, say that I want to find the rate for this :
cd422
amount499,000,000
rate???


what function should I use, is it just using vlookup with true range lookup? please help. Thanks in advance
 
How about
Fluff.xlsm
ABCDEF
1cdamountrate
238300.00%cd422
33831000000001.50%amount499000000
43835000000002.50%rate0.10%
542200.00%
6422500000000.05%
74221000000000.10%
84225000000000.20%
942210000000000.30%
1042500.00%
114255000000000.50%
12425100000000001.00%
13425250000000003.00%
14
Sheet6
Cell Formulas
RangeFormula
F4F4=TAKE(FILTER(C2:C100,(A2:A100=F2)*(B2:B100<=F3),""),-1)
 
Upvote 0
Try:

Libro1
ABCDEF
1cdamountratecd422
238300.00%amount499,000,000
3383100,000,0001.50%rate0.10%
4383500,000,0002.50%
542200.00%
642250,000,0000.05%
7422100,000,0000.10%
8422500,000,0000.20%
94221,000,000,0000.30%
1042500.00%
11425500,000,0000.50%
1242510,000,000,0001.00%
1342525,000,000,0003.00%
Hoja1
Cell Formulas
RangeFormula
F3F3=LOOKUP(2,1/((A2:A13=F1)*(B2:B13<=F2)),C2:C13)
 
Upvote 0
How about
Fluff.xlsm
ABCDEF
1cdamountrate
238300.00%cd422
33831000000001.50%amount499000000
43835000000002.50%rate0.10%
542200.00%
6422500000000.05%
74221000000000.10%
84225000000000.20%
942210000000000.30%
1042500.00%
114255000000000.50%
12425100000000001.00%
13425250000000003.00%
14
Sheet6
Cell Formulas
RangeFormula
F4F4=TAKE(FILTER(C2:C100,(A2:A100=F2)*(B2:B100<=F3),""),-1)
Thanks alot sir...it works really well! thanks for the help
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,226,795
Messages
6,193,046
Members
453,772
Latest member
aastupin

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