ROUNDING UP OR DOWN depending on percentage result

Glacombe

Board Regular
Joined
Oct 31, 2018
Messages
101
Office Version
  1. 2016
Platform
  1. Windows
I would like to know what would be the formula to either round up or round down a percentage amount. For example I have the following formula:
= P3/12*AK3
It calculates original percentage amount which is 5%(cell P3) and divides it by 12 and then multiply by amount of months which in this case is 8 months that is identified in AK3.
The result is 3.33333% which I would like the result to be only 3.33 as the .3 is below 5
In another cell I have the percentage 10% and divides it by 12 and then multiply by 7 months which gives the result as 5.83333 which I would like the result to be 5.84 as the .8 is above 5
What would the formula would be to either round down if it is .3 and below or round up if it is .5 above?
Thanks
 
Thank you Scott my mistake I meant 3.84, its Friday and I have been working on this all day.
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Then the formulas provided should work, can you please provide the values in the cells where it doesn't?
 
Upvote 0
Thanks again Scott, there is a cell that the result is 5.83333, when it should be 5.84
 
Upvote 0
And what are the values in the cells referenced in the formula? And can you post which formula you're using?
 
Upvote 0
Thank you Scott, the values in the cells referenced are:
P3: The percentage from a VLOOKUP formula
AK3: is a formula that calculates amount of months from start date and end date and then divides the percentage reference in P3 by 12 and multiply by amounts of months reference in AK3
 
Upvote 0
That's not what I mean, what are the actual numbers in the cells? I can't try and replicate the problem if I don't know what the numbers are.
 
Upvote 0
Sorry Scott, in one of the rows the number in P3 is 5% and the number in AK3 is 8 which the result is 3.333333 (I need this one to round to 3.33)
in another row, the number in P3 is 10% and the number in AK3 is 7 which the result is 5.833333 (I need this one to round to 5.84)
 
Upvote 0
And it does. I have always assumed for the sake of this thread that your value in P3 is not actually a percent; 10% (which would be .1) but the actual number 10.


Excel 2010
PQRSTUVWXYZAAABACADAEAFAGAHAIAJAKAL
31075.84
Sheet1
Cell Formulas
RangeFormula
AL3=ROUNDDOWN(P3/12*AK3,2)+((MOD(P3/12*AK3,1)>0.5)*0.01)
 
Last edited:
Upvote 0
Thank you Scott, tried the above formula and the result gives me a rounddown to 3.00%
 
Upvote 0
Are the values in your cells exactly as in my sample?
Can you post the formula exactly as you have used it?
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,628
Members
452,661
Latest member
Nonhle

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