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.
 
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
 
Back
Top