Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default each number in cell should be 10 digit

I am getting numbers in excel from a database..i want that each number should
be 10 digit and if less than ten digit then it should be preceded by 0
(zeros) to make it 10 digit number.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default each number in cell should be 10 digit

To keep the numeric value but show 10 digits, Format Custom as 0000000000
To get a 10-character text string: =TEXT(A1,"0000000000")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Vipul" wrote in message ...
|I am getting numbers in excel from a database..i want that each number should
| be 10 digit and if less than ten digit then it should be preceded by 0
| (zeros) to make it 10 digit number.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default each number in cell should be 10 digit

On Thu, 2 Nov 2006 03:01:02 -0800, Vipul
wrote:

I am getting numbers in excel from a database..i want that each number should
be 10 digit and if less than ten digit then it should be preceded by 0
(zeros) to make it 10 digit number.


Format the cells as:

Format/Cells/Number/Custom Type: 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
Non updatable Unique Random Number Ian Excel Worksheet Functions 30 September 28th 06 08:19 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
spread the number 123.45 so each digit goes to a different cell Linda H. Excel Worksheet Functions 6 February 17th 05 07:07 PM
excel - numbers as text Thuferhawat New Users to Excel 12 January 24th 05 09:29 PM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"