Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default I WANT EVEN NUMBERS; NO DECIMALS - ROUND

I just need to do this really simple task but Im getting crazy... I just want
even numbers from a calculation cell.
If the result is: 2.1 I want it show 2 if its 2.9 also 2
if
0.9 = 0
1.0 = 1
etc etc

If you can help me; thank you sooo much!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default I WANT EVEN NUMBERS; NO DECIMALS - ROUND

=floor(A1,1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"HERNAN" wrote in message
...
I just need to do this really simple task but Im getting crazy... I just

want
even numbers from a calculation cell.
If the result is: 2.1 I want it show 2 if its 2.9 also 2
if
0.9 = 0
1.0 = 1
etc etc

If you can help me; thank you sooo much!!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default I WANT EVEN NUMBERS; NO DECIMALS - ROUND

It sounds like the decimal value is coming from a calculation. Try this.
=ROUNDDOWN((CALC),0) where "CALC" is the calculation formula for the cell.

Ex: If A3 is the cell with the sum of A1 and A2, the A3 formula would be
=ROUNDDOWN((A1 + A2), 0)


"HERNAN" wrote:

I just need to do this really simple task but Im getting crazy... I just want
even numbers from a calculation cell.
If the result is: 2.1 I want it show 2 if its 2.9 also 2
if
0.9 = 0
1.0 = 1
etc etc

If you can help me; thank you sooo much!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default I WANT EVEN NUMBERS; NO DECIMALS - ROUND

=int(a1)
or
=trunc(a1)

There's a difference with how negative numbers are treated.

HERNAN wrote:

I just need to do this really simple task but Im getting crazy... I just want
even numbers from a calculation cell.
If the result is: 2.1 I want it show 2 if its 2.9 also 2
if
0.9 = 0
1.0 = 1
etc etc

If you can help me; thank you sooo much!!


--

Dave Peterson
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
How do I round numbers to the nearest multiple of 10 or 5? Wasatch Excel Worksheet Functions 5 May 3rd 23 07:43 PM
Round down numbers Dale Excel Worksheet Functions 4 January 20th 06 12:56 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM
sort "numbers" with decimals Melissa Excel Discussion (Misc queries) 4 September 2nd 05 02:28 PM
Converting imported numbers to decimals (rather than /100) Frustrated Excel user Excel Worksheet Functions 2 April 5th 05 05:46 PM


All times are GMT +1. The time now is 01:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"