Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I show only the whole number w/o eliminating four decimals?

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default How do I show only the whole number w/o eliminating four decimals?

The formatting toolbar has a button that allows you to decrease the number of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How do I show only the whole number w/o eliminating four decim

When I use that button, the whole number is rounded up. So, it goes like this:
$104,978.6849
$104,978.685
$104,978.69
$104,978.7
$104,979

It needs to show $104,978.

Any other trick in your bag?

"Dave F" wrote:

The formatting toolbar has a button that allows you to decrease the number of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default How do I show only the whole number w/o eliminating four decim

Odd. It doesn't round up on my machine. What version of XL are you using?
--
Brevity is the soul of wit.


"kell~0" wrote:

When I use that button, the whole number is rounded up. So, it goes like this:
$104,978.6849
$104,978.685
$104,978.69
$104,978.7
$104,979

It needs to show $104,978.

Any other trick in your bag?

"Dave F" wrote:

The formatting toolbar has a button that allows you to decrease the number of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How do I show only the whole number w/o eliminating four decim

I don't know where to find the version. I'd suppose that it is probably the
first XP office version ever!

"Dave F" wrote:

Odd. It doesn't round up on my machine. What version of XL are you using?
--
Brevity is the soul of wit.


"kell~0" wrote:

When I use that button, the whole number is rounded up. So, it goes like this:
$104,978.6849
$104,978.685
$104,978.69
$104,978.7
$104,979

It needs to show $104,978.

Any other trick in your bag?

"Dave F" wrote:

The formatting toolbar has a button that allows you to decrease the number of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 303
Default How do I show only the whole number w/o eliminating four decimals?

One way
number is in A1

enter in B1
=INT(A1)

Greetings from New Zealand


"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How do I show only the whole number w/o eliminating four decim

It works, but is there a way to do this in the same cell?

"Bill Kuunders" wrote:

One way
number is in A1

enter in B1
=INT(A1)

Greetings from New Zealand


"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How do I show only the whole number w/o eliminating four decim

Isn't it getting dark in New Zealand?

"kell~0" wrote:

It works, but is there a way to do this in the same cell?

"Bill Kuunders" wrote:

One way
number is in A1

enter in B1
=INT(A1)

Greetings from New Zealand


"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave
--
Brevity is the soul of wit.


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default How do I show only the whole number w/o eliminating four decimals?

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?



  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default How do I show only the whole number w/o eliminating four decim

Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?






  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default How do I show only the whole number w/o eliminating four decim

Well is should round. Are you sure you have $104,978.6849 ?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Dave F" wrote in message
...
Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the
number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?






  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default How do I show only the whole number w/o eliminating four decim

Yes, I also got 104,979 i.e. it was rounded.

However, I discovered something unexpected using that button. In mathematics, I am used to .5 being rounded up. With the button, it is inconsistent - sometimes it does and sometimes it doesn't. Am I missing something? I use V. 2003.

Scenario 1

1234.4567--1234.457--1234.46--1234.5--1234

..5 wasn't rounded up??

Scenario 2

1234.5000 (format = 4 decimal places) then use the button.

Result = 1235

I don't understand this inconsistency and I don't feel comfortable using the button. Well, another anomaly of Excel?

Appreciate any clarification or guidance.

Epinn

"Bernard Liengme" wrote in message ...
Well is should round. Are you sure you have $104,978.6849 ?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Dave F" wrote in message
...
Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the
number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?







  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How do I show only the whole number w/o eliminating four decim

"Force all these cells" I don't want to go back and type in the interger,
because I'd loose the formula.

Kell~0

"Dave F" wrote:

Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave


"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?




  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default How do I show only the whole number w/o eliminating four decim

try one other way,

you can generically show the number of decimals in a key stroke

=trunc("yourCells","yourDigitizerCell")

if you have a column of values, see help files

regards,
dribler
--
*****
birds of the same feather flock together..



"kell~0" wrote:

"Force all these cells" I don't want to go back and type in the interger,
because I'd loose the formula.

Kell~0

"Dave F" wrote:

Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the number
of
decimals. It looks like an arrow pointing to the right with a bunch of
zeroes on it...

Dave

"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?



  #15   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default How do I show only the whole number w/o eliminating four decim

So ... now we know that you have a formula in the cell!

Simply wrap your formula with either Int() OR Trunc().

=INT(your formula)
=INT(SUM(A1:A100))

=TRUNC(your formula)
=TRUNC(A1*B1)


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"kell~0" wrote in message
...
"Force all these cells" I don't want to go back and type in the interger,
because I'd loose the formula.

Kell~0

"Dave F" wrote:

Well, it doesn't round up on my machine. Not sure why.
--
Brevity is the soul of wit.


"David Biddulph" wrote:

Wouldn't that give $104,979, Dave?

I don't know what the OP meant by "We do not want to force all of these
cells", but I think he needs =INT(A1).
--
David Biddulph

"Dave F" wrote in message
...
The formatting toolbar has a button that allows you to decrease the
number
of
decimals. It looks like an arrow pointing to the right with a bunch
of
zeroes on it...

Dave

"kell~0" wrote:

I need to show only the whole number, not the number resulting by
removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not
$104,979

How do I do this?






  #16   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How do I show only the whole number w/o eliminating four decimals?

=INT(A1)


"kell~0" wrote:

I need to show only the whole number, not the number resulting by removing
the decimals. We do not want to force all of these cells.

So, if the number is $104,978.6849 it needs to show $104,978, not $104,979

How do I do this?

  #17   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default no rounding

=int(x)

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
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
Negative number results to show as zero Soccer Guy Excel Discussion (Misc queries) 2 October 27th 06 08:12 PM
Displaying a number with different decimals depending on a condition JGarces Excel Worksheet Functions 1 August 16th 06 05:37 PM
Specifying number of decimals in a number allencr Excel Discussion (Misc queries) 2 July 2nd 06 05:07 AM
Force function to show positive or negative number? smoore Excel Worksheet Functions 3 March 3rd 06 08:34 PM
Show week number in current month DKerr Excel Discussion (Misc queries) 4 February 23rd 06 09:20 PM


All times are GMT +1. The time now is 08:06 AM.

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"