Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 78
Default Numbers as Text

I want to convert the number 12345678, etc. into Text with 10 digits, with
leading zeros, when necessary, i.e. 0012345678.

I first formatted the 8 digit number to a 10 digit one with the Format Cells
Dialog Box (0000000000) and then format it as Text. But whenever I do that,
the leading zeros get lost and the values remain numbers!

How can I format the Cells that the values remain "0000000000" (=text)

Felix
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Numbers as Text

In a helper cell...............

=TEXT(12345678,"0000000000")

Or =TEXT(cellref,"0000000000")


Gord Dibben MS Excel MVP

On Mon, 4 Aug 2008 20:59:01 -0700, Felix
wrote:

I want to convert the number 12345678, etc. into Text with 10 digits, with
leading zeros, when necessary, i.e. 0012345678.

I first formatted the 8 digit number to a 10 digit one with the Format Cells
Dialog Box (0000000000) and then format it as Text. But whenever I do that,
the leading zeros get lost and the values remain numbers!

How can I format the Cells that the values remain "0000000000" (=text)

Felix


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 to extract numbers from imported cell with text and numbers? jyin Excel Discussion (Misc queries) 3 March 28th 07 01:14 PM
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
How do I convert numbers stored as text with spaces to numbers Baffuor Excel Discussion (Misc queries) 1 May 24th 05 07:39 AM
How to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM


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