Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default drop the decimal without rounding

I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default drop the decimal without rounding

A1 = 23.65

=INT(A1)

--
Biff
Microsoft Excel MVP


"annc5411" wrote in message
...
I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default drop the decimal without rounding

=INT(A1)

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"annc5411" wrote:

I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default drop the decimal without rounding

Use INT()

=INT(A1)

If this post helps click Yes
---------------
Jacob Skaria


"annc5411" wrote:

I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default drop the decimal without rounding

The INT function others have suggested will work fine as long as your
numbers are all positive values. However, if you can have negative value,
then you should use this instead...

=ROUNDDOWN(A1,0)

--
Rick (MVP - Excel)


"annc5411" wrote in message
...
I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default drop the decimal without rounding

Either =INT(A1) or =TRUNC(A1), depending on how you want to treat negative
numbers.

=ROUNDDOWN(A1,0) is another option, and for positive numbers also
=FLOOR(A1,1) [or to allow for -ve numbers too, =FLOOR(A1,SIGN(A1)) but that
might be overdoing the complication!].
--
David Biddulph

"annc5411" wrote in message
...
I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23



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
Decimal Rounding Urgent Excel Discussion (Misc queries) 4 November 26th 08 08:24 PM
Rounding up for a decimal Sena Excel Worksheet Functions 4 July 9th 07 07:29 AM
Rounding to two even decimal places needhelp Excel Worksheet Functions 3 May 16th 07 12:49 AM
Decimal Place Rounding Aaron Excel Worksheet Functions 4 May 4th 07 02:58 AM
Rounding decimal Sturart Excel Worksheet Functions 1 February 16th 06 07:06 PM


All times are GMT +1. The time now is 09:28 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"