rounding the results of a formula

  • Thread starter Thread starter mprokop
  • Start date Start date
M

mprokop

basic formula

=SUM(C42*E42)

how do I round the answer ? i.e. $242.62 to show $243.00 in the cell
 
one way:

=ROUND(C42*E42,0)

another:

=INT(C42*E42)


Note that SUM() isn't necessary. C42*E42 returns the product - all SUM()
does is SUM a single cell, i.e., returns its input.
 
First, you don't need the SUM function. Next, use:
=ROUND(C42*E42,0)
 
Hi

Put your formula into a cell, then right click that cell go to format
cell, then number, scroll to custom and in the 'type' part at the top
input $0 this will round up the number.

Matt
 
Hi

Put your formula into a cell, then right click that cell go to format
cell, then number, scroll to custom and in the 'type' part at the top
input $0 this will round up the number.


Be aware that your procedure only rounds the display. And it does arithmetic
rounding, not a "round up" as you stated. The contents of the cell remains
unchanged (unrounded) which would become apparent if the cell was used in
another formula.


--ron
 

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

Similar Threads


Back
Top