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
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
try this out assuming your number is in P3

=CEILING.MATH(P3, 0.01)

EDIT: sorry this will not work.. tyring to get you anther answer
 
Last edited:
Upvote 0
try this out assuming your number is in P3

=CEILING.MATH(P3, 0.01)

EDIT: sorry this will not work.. tyring to get you anther answer

The percentage amout is identified in P3 and the formula identified in my question is in AC3, this is where I would like to either round up or down
 
Upvote 0
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

I have not received any suggestions yet does anybody know what the formula would be? thanks
 
Upvote 0
It may not be the most elegant solution, but I found this to work in limited testing (A1 is cell where I had my test number):

Code:
=IF(NUMBERVALUE(MID(A1,SEARCH(".",A1),2))>=0.5,ROUNDUP(A1,2),ROUNDDOWN(A1,2))

For my test number I used this formula to generate a random test number:

Code:
=RANDBETWEEN(1,10)+RAND()
 
Last edited:
Upvote 0
Thanks for this I would like it to be:
if result is 3.333333 round to 3.33
if result is 3.833333 round to 3.34
 
Upvote 0
Why would the second one be 3.34 when the value in the tenths place is 8? Shouldn't it be 3.84?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,609
Members
452,660
Latest member
Zatman

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