Formula for calculating a Percentage

dsami0122

Board Regular
Joined
Mar 31, 2016
Messages
65
Office Version
  1. 365
Platform
  1. Windows
I have a report with 4 columns
Current Sal
Current SalaryMin SalaryMid SalaryMax Salary
130000.00116500146000175000

Calculate where this salary is in the range by percentage - if this range this person is currently at 45% of their classification range
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If you have a set-up like this:

1736869834948.png


Use this formula in cell E2 to get the result:
Excel Formula:
=(A2-B2)/(D2-C2)
and format that cell as a percent.
 
Upvote 0
Solution
Calculate where this salary is in the range by percentage - if this range this person is currently at 45% of their classification range
Why 45%? I would expect the salary to be 142,825 or roughly 143,000 to be 45%.
 
Upvote 0
Yeah, I am not sure how exactly they got Mid Salary, as I would think that would just be the mid-point of the Min and Max values, but it is not in the example given.
The mid-point of the two in the example given is 145750, not the 146000 shown.

If they want to do something special with Mid Salary, then I think they would need to explain in detail exactly how the logic should work.
I simply took the range from Min to Max, and then look at where they are exactly in that range, which is how I have always seen this done.
 
Upvote 0
45% was just my sample - I need the true % which Joe helped with - thank you
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0
45% was just my sample - I need the true % which Joe helped with - thank you
Joe's formula doesn't make sense when it's over the mid salary threshold.
Book1
ABCDEF
1Current SalaryMin SalaryMid SalaryMax Salary
2150000116500146000175000116%
3160000116500146000175000150%
4175000116500146000175000202%
Sheet2
Cell Formulas
RangeFormula
F2:F4F2=(A2-B2)/(D2-C2)
 
Upvote 0
Joe's formula doesn't make sense when it's over the mid salary threshold.
Book1
ABCDEF
1Current SalaryMin SalaryMid SalaryMax Salary
2150000116500146000175000116%
3160000116500146000175000150%
4175000116500146000175000202%
Sheet2
Cell Formulas
RangeFormula
F2:F4F2=(A2-B2)/(D2-C2)
Shoot!

I had a typo in my formula. It should be:
Excel Formula:
=(A2-B2)/(D2-B2)
 
Upvote 0
Shoot!

I had a typo in my formula. It should be:
Excel Formula:
=(A2-B2)/(D2-B2)
With that the result for 130,000 is 23% - far from what the OP is expecting but makes more sense. So not sure what s/he's trying to accomplish.
 
Upvote 0
With that the result for 130,000 is 23% - far from what the OP is expecting but makes more sense. So not sure what s/he's trying to accomplish.
Yeah, that is what threw me originally; that my formula, wrong as it was, was pretty close the to the value they used as the example.
However, it sounds like maybe they were just tossing numbers out there that might not really reflect what was shown in the example.
 
Upvote 0

Forum statistics

Threads
1,226,105
Messages
6,188,966
Members
453,515
Latest member
maccannix

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