Oh ok you have a calculation too. =Roundup((cellA*CellB),0) The reason being you are rounding up the final answer to a whole number of units. Not changing the view. That said in practice it may make no odds to you.
Andrew1707's method will round to the nearest integer (assuming 0 decimal places is chosen), rather than always rounding up. You need to use the 'ROUNDUP' command, with 0 decimal places. (See link).
Not quite sure what you mean here. Do you want cell C to round up the final value of AxB? or do you want the cell B rounded up before the calculation is done? Andrews answer is correct . You can formulate any cell to round the number by highlighting the cell right clicking and choosing 'number' and 'no decimal place.
So is it cell B you want to round up, cell C or both?
Can you give an example of what the values (unrounded) could be for cells A, B and C and then which figures you'd want to round up?
The reason being you are rounding up the final answer to a whole number of units. Not changing the view. That said in practice it may make no odds to you.
Each event needs half a box of programmes (Cell B1 = 0.5)
At the moment my formula in Cell C1 is ... =A1*B1
Which tells me to order 2.5 boxes
But I can't order half boxes.
For Cell C1 to be useful in further calculation, I need it to automatically round up to the next whole number, each time I change the numbers in A1 and B1.
The ROUNDUP command needs to be told the number of decimal places that you want to use when rounding up. (In your case, since you want to round to an integer, you need to set that to zero).
It might be simplest to do the unrounded calculation first and then round afterwards. So C1=A1*B1 and D1=ROUNDUP(C1,0), where D1 is the rounded answer you require.
So in your example you'd want an answer of 3. Roundup should work, but you'd need the brackets to show it's (A1*B1) that you are rounding up. You may have just rounded up A1 and then multiplied it by B1
It was, OG ... but you have me the "spoon feed" version of the formula that Chris found.
And Chris's answers are always so brilliant. Giving Best Answer to Chris would be like awarding the Ballon d'Or to Christiano Ronaldo ... an obvious choice, but a bit of a kop out.
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.