round up the number

L

Lowan Chan

Hi,

I have a table below:
A B C
1. 123.60 12
2. 178.40 8

How can I set a formular to get the following results:
C1 = 124 * B1 (A1's 123.60 round up to 124)
C2 = 178 * B2 (A2's 178.40 round up to 178)

thanks in advance!
Lowan
 
L

Lowan Chan

Thanks Damon.

I have one problem, your format only round up A2 to 179, but I need the
result is 178. What else I can do?

Thank you!
 
J

Joe User

:
Subject: round up the number
How can I set a formular to get the following results:
C1 = 124 * B1 (A1's 123.60 round up to 124)
=ROUNDUP(A1,0)*B1

But....


C2 = 178 * B2 (A2's 178.40 round up to 178)

178.40 does not round __up__ [sic] to 178. It rounds down. I think you
want to __round__, namely:

=ROUND(A2,0)*B2

probably for both A1 and A2.


----- original message -----
 
L

L. Howard Kittle

See if this works, I'm a bit unlearned on ROUND.

=ROUND(A1,0)*B1

Returns 1428

HTH
Regards,
Howard
 
F

Fred Smith

If you want to change 178.4 to 178, not 178, you want to *round*, not round
up. Change Damon's formula to:
=Round(a2,0)*b2

Regards
Fred
 

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