Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Problems truncating a column

I have a column of numbers on a sheet w/22,000 rows, I'm trying to truncate
the decimal. If I try =Trunc(a2,0) on 1.093 I get 1 which is what I want. But
if I copy the cell to fill the rest of the column, 0 will truncate to 1. What
am I doing wrong?
Thanks for any help,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Problems truncating a column

You should not...

Do you mean to say that
=TRUN(0,0) is giving you 1?

Can you post the number which is truncating to 1?

I tried with
1.0989
2.0989
3.0989
4.0989
5.0989
0

and got
1
2
3
4
5
0



"Abbey Normal" wrote:

I have a column of numbers on a sheet w/22,000 rows, I'm trying to truncate
the decimal. If I try =Trunc(a2,0) on 1.093 I get 1 which is what I want. But
if I copy the cell to fill the rest of the column, 0 will truncate to 1. What
am I doing wrong?
Thanks for any help,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Problems truncating a column

I wasn't including the number in the formula. I was including the cell, and
then copying it down the entire column. Is that not acceptable on this
formula?

"Abbey Normal" wrote:

I have a column of numbers on a sheet w/22,000 rows, I'm trying to truncate
the decimal. If I try =Trunc(a2,0) on 1.093 I get 1 which is what I want. But
if I copy the cell to fill the rest of the column, 0 will truncate to 1. What
am I doing wrong?
Thanks for any help,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Problems truncating a column

I just gave that as an example... you can use cell reference in the formula
(as in any Excel formula)... I meant to say that does the cell with 0 is
giving you the problem when you use TRUN on it?

Pl. paste the no which is giving you trouble and the result.

"Abbey Normal" wrote:

I wasn't including the number in the formula. I was including the cell, and
then copying it down the entire column. Is that not acceptable on this
formula?

"Abbey Normal" wrote:

I have a column of numbers on a sheet w/22,000 rows, I'm trying to truncate
the decimal. If I try =Trunc(a2,0) on 1.093 I get 1 which is what I want. But
if I copy the cell to fill the rest of the column, 0 will truncate to 1. What
am I doing wrong?
Thanks for any help,

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
Column calculation problems ksfarmer Excel Discussion (Misc queries) 3 February 27th 09 03:26 AM
Truncating text field in column Anne Excel Discussion (Misc queries) 2 October 18th 07 10:28 PM
truncating data within a cell for an entire column vlapi New Users to Excel 3 April 18th 07 08:15 PM
Problems adding a column Heine Excel Worksheet Functions 2 November 16th 06 01:58 PM
column headings problems Wade Excel Worksheet Functions 4 January 25th 06 08:35 PM


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