# 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.

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.

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)

Then use your mouse to click the cells, and when finished, use zero as the
number of places to round.

Regards,

J

#### John A.

This was exactly what I needed Rich. Worked great.

Thanks!!!

J

#### John A.

yours worked too Dave.

Thanks!!!

Dave Peterson said:
=roundup(a1,0)
or
=roundup(a1/a2,0)

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.