#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Trim Numbers

I have some numbers in coloum A
i.e.

5689745864
568789652445
568123658974
5685416859
568436468
56836465765354
56873614367436436
5.6891E+12 - ( some number are getting displayed as, when I change the
format of the coloum to number - the displayed format is
568954125325778246656465465)

What I want is in Coloum B - should have the only first 10 digitsd from
coloum A)

so the result should look like

5689745864
5687896524
5681236589
5685416859
5684364685
5683646576
5687361436
5.6891E+12 should change to 5689541253


Any help is appreciated in advance

deepak
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Trim Numbers

I have some numbers in coloum A
i.e.

5689745864
568789652445
568123658974
5685416859
568436468
56836465765354
56873614367436436
5.6891E+12 - ( some number are getting displayed as, when I change the
format of the coloum to number - the displayed format is
568954125325778246656465465)

What I want is in Coloum B - should have the only first 10 digitsd from
coloum A)

so the result should look like

5689745864
5687896524
5681236589
5685416859
5684364685
5683646576
5687361436
5.6891E+12 should change to 5689541253


One possibility is to put this in A1 and copy down:
=LEFT(TEXT(A1,"#"),10)
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Trim Numbers

On Wed, 24 Dec 2008 22:11:00 +0000 (UTC), MyVeryOwnSelf
wrote:

I have some numbers in coloum A
i.e.

5689745864
568789652445
568123658974
5685416859
568436468
56836465765354
56873614367436436
5.6891E+12 - ( some number are getting displayed as, when I change the
format of the coloum to number - the displayed format is
568954125325778246656465465)

What I want is in Coloum B - should have the only first 10 digitsd from
coloum A)

so the result should look like

5689745864
5687896524
5681236589
5685416859
5684364685
5683646576
5687361436
5.6891E+12 should change to 5689541253


One possibility is to put this in A1 and copy down:
=LEFT(TEXT(A1,"#"),10)


Put the formula in cell B1 and it will work better.

/ Lars-Åke
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Trim Numbers

On Wed, 24 Dec 2008 13:53:00 -0800, Deepak
wrote:

I have some numbers in coloum A
i.e.

5689745864
568789652445
568123658974
5685416859
568436468
56836465765354
56873614367436436
5.6891E+12 - ( some number are getting displayed as, when I change the
format of the coloum to number - the displayed format is
568954125325778246656465465)

What I want is in Coloum B - should have the only first 10 digitsd from
coloum A)

so the result should look like

5689745864
5687896524
5681236589
5685416859
5684364685
5683646576
5687361436
5.6891E+12 should change to 5689541253


Any help is appreciated in advance

deepak


If some of your numbers might be less than 10 digits long, and you want to have
leading zero's, then:

=TEXT(LEFT(A1,10),"0000000000")

--ron
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
=TRIM Shayra Excel Discussion (Misc queries) 5 October 16th 08 07:16 PM
trim Chey Excel Discussion (Misc queries) 4 July 16th 07 07:58 PM
Trim if? John Excel Worksheet Functions 6 June 26th 06 04:44 PM
trim ferdy New Users to Excel 4 May 11th 05 11:10 AM
TRIM? Cthulhu Excel Worksheet Functions 10 February 10th 05 09:36 PM


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