Excel formula needed to round up a value to a whole number

J

John A.

I'm making a cost estimation sheet, and need a cell to publish a whole
number. This cell is the result of a division formula involving two other
cells (ie. 300 sq ft of coverage divided by 200 sq ft of coverage per gallon
= 1.5 gallons). I want my formula to round the 1.5 gallons up to 2 gallons.

Please help!

Thanks,

John
 
D

Dave Peterson

=roundup(a1,0)
or
=roundup(a1/a2,0)
I'm making a cost estimation sheet, and need a cell to publish a whole
number. This cell is the result of a division formula involving two other
cells (ie. 300 sq ft of coverage divided by 200 sq ft of coverage per gallon
= 1.5 gallons). I want my formula to round the 1.5 gallons up to 2 gallons.

Please help!

Thanks,

John
 
R

Rich Locus

John:

I don't think this is a programming question, but you can use the Round
Function as in this example:

=ROUND(B3/A3,0)

When creating the formula, just start with the =ROUND(
Then use your mouse to click the cells, and when finished, use zero as the
number of places to round.

Regards,
 
D

Dave Peterson

Be aware that there is a difference on how those two functions work.

Try it with:

=round(1.1,0)
and
=roundup(1.1,0)

I'm not sure which you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top