#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default round up the number

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

--
Lowan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default round up the number

Try:

=ROUNDUP(A2,0)*B2

"Lowan Chan" wrote:

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

--
Lowan

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default round up the number

=ROUND(A1,0)*B1
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Lowan Chan" wrote in message
...
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

--
Lowan


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default round up the number

Sorry, I see your second example. Try:

=ROUND(A2,0)*B2

"Damon Longworth" wrote:

Try:

=ROUNDUP(A2,0)*B2

"Lowan Chan" wrote:

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

--
Lowan

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default round up the number

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!
--
Lowan


"Damon Longworth" wrote:

Try:

=ROUNDUP(A2,0)*B2

"Lowan Chan" wrote:

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

--
Lowan



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default round up the number

"Lowan Chan" wrote:
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 -----

"Lowan Chan" wrote:

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

--
Lowan

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default round up the number

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

=ROUND(A1,0)*B1

Returns 1428

HTH
Regards,
Howard

"Lowan Chan" wrote in message
...
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

--
Lowan



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default round up the number

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

"Lowan Chan" wrote in message
...
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!
--
Lowan


"Damon Longworth" wrote:

Try:

=ROUNDUP(A2,0)*B2

"Lowan Chan" wrote:

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

--
Lowan


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Round number to the thousands without changing underlying number Tim Caldwell Excel Discussion (Misc queries) 3 June 13th 07 09:37 PM
Excel. How to round a number to nearest half number? HaraldS Excel Discussion (Misc queries) 2 February 19th 07 09:50 AM
Can I increase a number by 5.5% and then round that number to the. Jeff Thornburg Excel Discussion (Misc queries) 1 June 28th 06 05:26 PM
How can i round a number to closest tenth number? rayne95 Excel Worksheet Functions 3 June 19th 06 09:34 PM
How to make a number round up/down to a set number David S Excel Worksheet Functions 1 April 7th 05 04:20 PM


All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"