rounding to nearest integer

max8719

Board Regular
Joined
Jan 9, 2015
Messages
71
Hello,

conditional format at the moment: =D8>=ROUNDUP($A8,0)/4

I would like to make it percentage but to round to a whole percent down if contains .4 or lower, and round up if contains .5 or more.

im guessing something along the lines of

=if(D8>=ROUNDUP($A8,0)/100*25....
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
It is not clear to me which cell contains the percentage that you want to round. And it is not clear me in what form that percentage is presented.

Suppose A8 contains a true percentage; for example, 12.34%, which would look like 0.1234 if you used the Number format. Then ROUND(A8,2) rounds to an "integer" percentage, that is 12% or 0.12.

If your cell presents the percentage a different way, please tell us how. To avoid ambiguity, tell us how the "percentage" looks when formatted as Number with sufficient decimal places, and how you interpret it as a percentage. For example, some people multiply the true percentage by 100 so it is actually the number 12.34, not a percentage. (Bad choice, IMHO.)
 
Last edited:
Upvote 0
apologies joe,

the cell D8 does not contain a percentage it is a number (7) and A8 is a number (3). The conditional format on A8 is based on a percentage of D8. In this case 25% that's why I divided by 4 initially. Ideal format is 0-10% A8 is green, 11-24% amber and 25% or more red.
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,826
Members
449,190
Latest member
rscraig11

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