Cannot figure out correct formula to use

bororob85

New Member
Joined
May 30, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello all. So I am attempting to make an easy tool for us to calculate a sliding scale for financial assistance. There are 2 numbers that drive this and that is: Household Size and Yearly Income. Based on where that falls on the chart, a certain percentage would be applied.

Essentially its a range lookup. For 100% anything equal or less than should give a 100% response. Anything that is greater than or equal/less than the 50% Column should return 50% response and thus the same would apply for the 25% and then anything greater than the 25% column should return zero.

It does not have to be on the same sheet but for picture purposes I put on the same sheet but I did initially have sheet 1 for the tool and sheet 2 for the data ranges.
 

Attachments

  • 2024-05-30_22-14-28.png
    2024-05-30_22-14-28.png
    19.6 KB · Views: 19

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to the forum!

maybe try this (sorry, not using your exact numbers, you can paste your numbers in)

Book2
ABCD
1Household Size8
2
3Yearly Income201000
4
5Percentage Off100%
6
7Household Size100%50%25%
8158,00072,90088,000
9278,90098,600118,000
10399,400124,300149,000
114120,000150,000180,000
125140,000175,000210,000
136151,000201,000241,000
147181,000227,000270,000
158202,000252,000303,000
169222,200278,000334,000
Sheet2
Cell Formulas
RangeFormula
B5B5=XLOOKUP(B3,INDEX($B$8:$D$16,$B$1,0),$B$7:$D$7,0,1,1)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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