Find closest value in a multi-row/column table

dtdyson

New Member
Joined
Sep 29, 2020
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi All,
If I have the table below (just an APR table showing number of monthly payments and APR values and what the finance charge per $100 original loan would be) and I know the number of payments as well as the finance charge, how do I find the APR via Excel formula? I want to be able to enter different numbers in B12 and B13 (so, perhaps I know it's 24 payments and the charge is $4.77 - I want the result to show cell C6).
1601401201710.png


Thank you!!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi & welcome to MrExcel.
How about one of these three options
+Fluff New.xlsm
ABCDEFGHIJKLMN
1
244.555.566.577.588.599.510
361.11.31.51.71.92.12.32.52.72.93.13.33.5
4123.73.94.14.34.54.74.95.15.35.55.75.96.1
5186.36.56.76.97.17.37.57.77.98.18.38.58.7
6248.99.19.39.59.79.910.110.310.510.710.911.111.3
73011.511.711.912.112.312.512.712.913.113.313.513.713.9
83614.114.314.514.714.915.115.315.515.715.916.116.316.5
94816.716.917.117.317.517.717.918.118.318.518.718.919.1
106019.319.519.719.920.120.320.520.720.921.121.321.521.7
11Nearest values to B12
1212.43LowerGreaterClosest
133066.56.5
Data
Cell Formulas
RangeFormula
C13C13=XLOOKUP(B12,XLOOKUP(B13,A3:A10,B3:N10,"",0),B2:N2,"",-1)
D13D13=XLOOKUP(B12,XLOOKUP(B13,A3:A10,B3:N10,"",0),B2:N2,"",1)
E13E13=XLOOKUP(MIN(ABS(XLOOKUP(B13,A3:A10,B3:N10,"",0)-B12)),ABS(XLOOKUP(B13,A3:A10,B3:N10,"",0)-B12),B2:N2,"",0)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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