Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Excel formula: how to find if a value is within a range of thresholds, & then return the corresponding row

$
0
0

I'm trying to calculate my student loan (lol). Below are the first few rows of legit data from my government, which don't seem to follow any pattern whatsoever.

Threshold ($)Repayment rate (%)
51,5500
59,5191
63,0902
66,8762.5
70,8893
......

If my income is less than a certain threshold (first column), my repayment rate will be the corresponding value in the second column.For example:

  • Income = 50,000< 51,550, so repayment rate = 0%.
  • Income = 51,550< 59,519, so repayment rate = 1%.
  • Income = 59,518< 59,519, so repayment rate = 1%.

I want to have a formula that returns the corresponding repayment rate for my income.


Because this involves comparing one value to 20 rows of data, I really hope that there can be a cleaner solution instead of a bunch of ifs. I only know the basics of Excel formulae, so I need help & guidance with this. Thanks a lot!


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>