Thread: ROUNDING
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas Gary Keramidas is offline
external usenet poster
 
Posts: 2,494
Default ROUNDING

create the rounded values in column d

=SUM(ROUND(A1,0),ROUND(B1,0),ROUND(C1,0))

--


Gary Keramidas
Excel 2003


"evelin via OfficeKB.com" <u54234@uwe wrote in message
news:a1b10b45d07b3@uwe...
I have 3 number columns, viz A, B, AND C . I formatted the A and B and D
columns using the Round function of excel directly. USING MACRO In the
fourth column,D - I added the values of A,B and C. But instead of adding the
rounded values of columns A and B , it is adding the actual values though
displays rounded values. So not getting the expected result. for example A=5.
4, B=6.4 , c=0. now display is A=5 and B= 6, but in D it is 12,
actually A must be 5, B=6 and so D= 11

so how to get the rounded values in calculation.

THANKS

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201001/1