Is there a formula to utilize ratios?

d_tech

New Member
Joined
Jul 19, 2017
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
In column A I have random numbers. Column B is supposed to show the amounts of column A but calculated to not deviate more than a certain percent from the average. The total of column A and the total of column B should equal the same amount.

For example A1 is 51, A2 is 53, A3 is 55, and A4 is 57. I've set the percentage at 2%

B1 should then be 52.92, B2 53.64, B3 54.36, B4 55.08

If this is possible, an example would be much appreciated!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I'm confused. Are you saying you want to enter an amount (a value) into column B and then have it processed to show the maximum of that value or 102% of the value in column A?
 
Upvote 0
Here is a grid with getting the max of 102% of A and a value entered in column B
.
If this isn't what you want, then please post a mini worksheet with an expected view of what you want to see.


Book1
ABC
15152.9252.92
25353.6454.06
35554.3656.1
45755.0858.14
Sheet11
Cell Formulas
RangeFormula
C1:C4C1=MAX(B1,1.02*A1)
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Thanks, done
 
Upvote 0
Here is a grid with getting the max of 102% of A and a value entered in column B
.
If this isn't what you want, then please post a mini worksheet with an expected view of what you want to see.


Book1
ABC
15152.9252.92
25353.6454.06
35554.3656.1
45755.0858.14
Sheet11
Cell Formulas
RangeFormula
C1:C4C1=MAX(B1,1.02*A1)
Just got it ready but another helpful member has got my question answered
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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