Rounding an amount up or down in Numbers?

I’m pretty new to Numbers v3.6.2 so while I’m quite proud of my success with my first, rather ambitious effort, I know I shall remain defeated by a combination of the IF and ROUND formulae. So help gratefully received with the following request please:

I wish to round a series of cells either up or down to the nearest round figure depending upon them being below or above the median of .50. Ie: 16.34 to become 16 and 16.79 to become 17. The cells could contain up to six digits (plus the two decimal points.)

Please treat me as a novice and provide the complete formula! Many thanks.

iMac (27-inch Mid 2010), OSX updated to 10.10.5

Posted on May 22, 2016 8:07 AM

Reply
Question marked as Top-ranking reply

Posted on May 22, 2016 11:11 AM

Round (A1,0) will round it as you want (to a whole number).

If you then want to display the .00 you can set the cell format to display 2 decimals and it will display .00

6 replies

May 23, 2016 1:14 PM in response to AppleOwnerSince1979

My apologize for answering the wrong question. you clearly said you want to round to a whole number (an integer) but I posted an example that rounded to two decimal places.


regardless I did provide the clue in the description of places:

places specifies how many digits to round to

I provided an example that rounded to two decimal places.


Number does provide help when you type the equal sign in a cell, it shows the function browser on the right:

User uploaded file


you can search through the list or type the first few letters to filter the list.

May 22, 2016 10:36 AM in response to Wayne Contello

Wayne:


Thank you so much for such a prompt reply. Yes, I have already used the ROUND function in this manner: ROUND (A1,-3). I’m sure you’ll know that the “–3” affects the three digits to the left of the decimal point, reducing them to zeroes. In fact, I now see that doesn’t do exactly what I wanted it to do in every example! So ignore that!


I have just trialled your solution and, respectfully, I’m just getting exactly the same result as already appears in the referred-to cell. Eg...


“ROUND (A1,2)” shows £3,151.52 which just repeats what is in Cell A1. Whereas my formula above changed it to £3,000.00 (but only because the integer contained 4 digits.)


The calculation/formula I’m after is to produce the result (in that example, “£3,151.52”) of rounding it upto £3,152.00. Ie: had the original cell shown £3,151,48, I would want it to round it downto £3,151.00.


I know I’m complicating the issue now! So may I clarify that last paragraph in laymen’s terms, or by what I remember from my days of BASIC!!, thus:


IF the two digits to the right of the decimal point are 50 or above, THEN round the number up to the next whole number. If not, then round those two digits down to 00.

May 22, 2016 11:11 AM in response to FoxFifth

Thank you, too, Foxfifth – that zero made all the difference! Does exactly what I wanted. So simple, I can’t believe I couldn’t find that in Apple’s own extensive “Functions Help” column. Of course it isthere and is the first example 😕. I had clearly long forgotten the definition of “integer” until I Googled it this afternoon (GMT) before replying to Wayne!

May 22, 2016 4:22 PM in response to Wayne Contello

Thanks Wayne; I thought you must’ve made a mistake when you suggested what I was already getting! Easy to do.


While I also appreciate the further guidance you posted, I have explored Numbers basics since embarking on my task and soon discovered the extensive Help available as soon as I entered an ‘=’ sign – one of the first things I’d learned in earlier excursions. But the hints – while comprehensive and no doubt accurate for the initiated – can be bewildering to the novice. As I said earlier, I even had to remind myself what an integer was!


I just don’t do many spreadsheets but it might interest you and Foxfifth to know that I found it to be the perfect solution to my very belated attempt at writing my will ! It solves all the problems that had delayed me doing so with so many modest bequests in mind, having no direct dependents.


I was particularly pleased to have mastered percentage formalae as the best way to portion the total assets’ value and to be able to adjust it every few years as my assets diminish (or rise as with property values continuing to escalate in the UK.) Just alter that single cell’s value and see all my bequests adjust proportionately!


Highly recommended for that purpose.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Rounding an amount up or down in Numbers?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.