A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Trim leading zeros



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2004, 03:11 PM
external usenet poster
 
Posts: n/a
Default Trim leading zeros

How do I trim leading zeros from a cells?

000000023
000000003
000000010

Thanks!
  #2  
Old August 12th, 2004, 03:20 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Trim leading zeros

Hi
one way:
- format the cells with a number format
- select an empty cell and copy this cell
- select your range of data
- goto 'Edit - Paste Special' and choose 'Add'

-----Original Message-----
How do I trim leading zeros from a cells?

000000023
000000003
000000010

Thanks!
.

  #3  
Old August 12th, 2004, 03:28 PM
sulprobil
external usenet poster
 
Posts: n/a
Default Trim leading zeros

If your data is in column A and if you only have integers,
type in cell B1: =TEXT(VALUE(A1),"0") and copy this down
(if you need text, if you need values, omit the text
function).

Regards,
sulprobil
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I show leading zeros in a number field tfinklea Database Design 1 August 11th, 2004 07:30 PM
Linked Table field...strip off leading zeros of text Inyo55 Database Design 1 July 24th, 2004 01:11 AM
Check for lost leading zeros Bonnie General Discussion 4 June 15th, 2004 08:00 PM
Number with leading zeros SteveM Worksheet Functions 3 February 2nd, 2004 04:47 PM
Leading Zero's Tami Worksheet Functions 2 November 24th, 2003 03:27 PM


All times are GMT +1. The time now is 09:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.