HOW DO I ROUNDUP A RESULT OF A FORMULA TO NEAREST WHOLE NUMBER
for example, my formula in the cell is =(c18/15)
if the result of the formula is 60.2, the cell displays 60 but i want it to round UP to the nearest whole number. do i have to add to that formula the end result? |
HOW DO I ROUNDUP A RESULT OF A FORMULA TO NEAREST WHOLE NUMBER
=ceiling(C18/15,1)
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "onsitegirl" wrote in message ... for example, my formula in the cell is =(c18/15) if the result of the formula is 60.2, the cell displays 60 but i want it to round UP to the nearest whole number. do i have to add to that formula the end result? |
HOW DO I ROUNDUP A RESULT OF A FORMULA TO NEAREST WHOLE NUMBER
Or =ROUNDUP(C18/15,0)
You'll find that the CEILING formula will fail if C18 is negative. -- David Biddulph "Bob Phillips" wrote in message ... =ceiling(C18/15,1) -- HTH Bob Phillips "onsitegirl" wrote in message ... for example, my formula in the cell is =(c18/15) if the result of the formula is 60.2, the cell displays 60 but i want it to round UP to the nearest whole number. do i have to add to that formula the end result? |
HOW DO I ROUNDUP A RESULT OF A FORMULA TO NEAREST WHOLE NUMBER
But Roundup rounds negative numbers down!
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "David Biddulph" wrote in message ... Or =ROUNDUP(C18/15,0) You'll find that the CEILING formula will fail if C18 is negative. -- David Biddulph "Bob Phillips" wrote in message ... =ceiling(C18/15,1) -- HTH Bob Phillips "onsitegirl" wrote in message ... for example, my formula in the cell is =(c18/15) if the result of the formula is 60.2, the cell displays 60 but i want it to round UP to the nearest whole number. do i have to add to that formula the end result? |
All times are GMT +1. The time now is 10:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com