How to use ceiling function in the same cell where a multiplication formula occurs
excel - CEILING Function - Round to next even number - Stack Overflow
Alternative to FLOOR and CEILING functions
windows phone 7 - Excel: Alternative to CEILING for rounding to nearest value - Stack Overflow
Videos
Hello, in cell R7 I have this formula =Q7*30%+Q7 which gives the answer as a decimal. I want to round the answer to the nearest 0.5. For example the cell is currently giving me 14.76 but I want it to display 15. I know how to achieve this by creating another column with the ceiling function but I want to know if it's possible to use the same R7 cell to run a multiplication which is =Q7*30%+Q7 and then round that number up in the same cell. How can I achieve this?
There is an alternative to CEILING using a little math and ROUNDUP.
=ROUNDUP(A1/2, 0)*2
It may be important to note how CEILING works with negative numbers. CEILING always rounds to the numerically larger number.
For the following examples, assume 3 in A1 and -3 in A2.
=CEILING(A1, 2) 'rounds up to +4
=CEILING(A2, 2) 'rounds up to -2
On the other hand, ROUNDUP always rounds away from zero.
=ROUNDUP(A1/2, 0)*2 'rounds up to +4
=ROUNDUP(A2/2, 0)*2 'rounds away from zero to -4
Conversely, ROUNDDOWN and FLOOR (the inverse of ROUNDUP and CEILING) operate in the same manner by in the opposite 'direction'.
Use CEILING(A1, 2). CEILING rounds the first parameter up to the nearest multiple of the second parameter.