Make a Spreadsheet That Can Calculate Different Ranges of Numbers
I ran into a problem where I had to get the interest that should have been applied on an account. I had to find out what rate needed to be applied to the balance, when the ‘tier’ of the balance determined the rate. I needed a calculator but Excel didn’t have a pre-made formula.
First, set up your spreadsheet with the appropriate headers and side bar information. You should differentiate these fields from input fields. I like to highlight the input fields on my calculation spreadsheets.
Next add in your formulas. If you are just adding fields together, pick the field you will use as your “Total” field and enter the SUM formula (the easiest way to do this is to choose it from the formula bar, then highlight the fields you want to add together)
Make the fields that show what ranges you are looking for. For example, I would have the dollar ranges:
$0 - $10,000
$10,000 - $25,000
$25,000 - $100,000
$100,000 +
I also have a field right near each range of numbers showing the interest rate I apply to that particular field. I use the decimal version of the rate, so for .25% I put in .0025.
Now you put in the following formula:
=IF(AND(B40>10000,B40<=25000),B40*(G41/G35),0)
In this example the cell B40 would be your total (yes it will even work if your “Total” cell has a formula in it!), G41 for my spreadsheet is the interest rate, G35 is a set number (365, for the number of days in the year. We do this to find the daily interest rate, but your spreadsheet may not need this). So basically, this formula says the following:
IF my “Total” is GREATER THAN 10,000 AND LESS THAN 25,000, then multiply the number in the “Total” cell by the following formula: the interest rate divided by 365, multiplied by the number in the “Total” field. The comma and the zero at the end say:
IF the number in the “Total” field is not between those two numbers, then return the value “0”. I then copy the formula and change the dollar amounts to the next tier. This way if the total falls within that range, it returns the answer I need and if it doesn’t, it gets ignored and I just get a 0. Without this formula, I would get the first tier just fine, but if the total was, say, above $25,000 then I would get an answer in the $10,000 to $25,000 range as well as the $25,000 to $100,000 range, messing my answer all up.
-
MrExcel's Learn Excel #913 - Pivot Rates II
| By 5min | in General
Yesterday, I talked about Jason's request to format a grouped pivot field in the row area of a pivot table. There i...
-
MrExcel's Learn Excel #912 - Pivot Rates
| By 5min | in Software
Jason from Texas asks about formatting percentages in a pivot table. I thought this would be an easy question, but ...
-
How to get a Secured Loan Properly
| By theoracleonline | in Personal Finance
Secured loans are risky however they provide a great way to improve your finances if constructed correctly. Secured...
-
Getting the Most Out of Google Documents
| By CJones | in General
Google Documents is quite powerful for those who understand it....
-
Cool New Features in Windows 7 - #5 - HomeGroup Networking in Windows 7 | By 5min | in Software
Sharing files across the home network has traditionally been a study in geekery. Now, with Windows 7 it's painfully...
-
5 Reasons you should be using Roboform to manage your passwords! | By JonRPatrick | in Software
Roboform Password Manager can help you get control of the hundreds of logins you have – safely and securely....
-
How to Link Worksheets and Update Totals in Excel 2007 | By kspoetry | in Software
You can link spreadsheets and update totals across them in Excel....
-
How to Install Chrome OS with VirtualBox | By phohammer | in Software
The source code from Chrome OS (called Chromium OS) has been released. Google has made it possible to build images ...
-
Security Web Cam Can Be Seen At Many Public Places | By ja_schmidt | in Software
I think that every home here on earth should be thinking more about security. I think that I am correct on this one...
-
How to Make an Amazing Pumpkin Pie | By JohnsonCM | in Desserts
I am a sucker for a good pumpkin pie. This is one of the better recipes that I have found (and I eat a lot of pie!)...
-
How to Make Realistic Stage Blood | By JohnsonCM | in General
Here’s a great recipe on how to make fake blood. This is great stage blood for Halloween or for stage acting. Thi...
-
How to Save Money In Today’s Economy | By JohnsonCM | in Personal Finance
Saving money is foremost on everyone’s mind these days. The economy has had some down turns and every penny saved...
-
How to Write an Amazing Resume | By JohnsonCM | in Career Management
Your resume is the first thing any prospective employer will see about you, so if it doesn’t stand out in their m...
-
How to Meditate Correctly | By JohnsonCM | in Meditation
Meditation can be a rewarding experience. Used for centuries by Buddhist and yogic priests and lay persons, meditat...








No comments yet.