A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how to make value whole (remove decimal point)



 
 
Thread Tools Display Modes
  #1  
Old July 18th, 2007, 11:06 PM posted to microsoft.public.excel.worksheet.functions
Roger
external usenet poster
 
Posts: 438
Default how to make value whole (remove decimal point)

I have a column with values that have up to 4 places to the right of the
decimal point (32.2514) and I simply want the whole value rounded up, and I
don't want it just to show the rounded up value, I actually want the cell
value to be 32 if the number is 32.2145. please help.....

thanks
  #2  
Old July 18th, 2007, 11:20 PM posted to microsoft.public.excel.worksheet.functions
Sandy Mann
external usenet poster
 
Posts: 2,264
Default how to make value whole (remove decimal point)

value to be 32 if the number is 32.2145

is actually rounding DOWN not up.

To do that use:

INT(A1) or TRUNC(A1)

(They act differently with negative numeber - check in Help)

If you want to round to the nearest whole number use:

=ROUND(A1,0)

If you do want to round up ALL the time then use:

ROUNDUP(A1,0)

or

CEILING(A1,1)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Roger" wrote in message
...
I have a column with values that have up to 4 places to the right of the
decimal point (32.2514) and I simply want the whole value rounded up, and
I
don't want it just to show the rounded up value, I actually want the cell
value to be 32 if the number is 32.2145. please help.....

thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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