Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Entering 6 digit numbers into a cell with zeros at the beginning

I am trying to enter a cheque number in a cell ie 000002, when I move from
the cell it comes up as just "2". Have tried everything in format cells,
number ???
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Entering 6 digit numbers into a cell with zeros at the beginning

If *all* the numbers you want to enter will be 6 digits you can use a custom
number format of 000000.

Or, you can enter the digits as *text* be either formatting the cell(s) as
TEXT or by preceding the entry with an apostrophe like '000002. The
apostrophe will not be displayed in the cell.

--
Biff
Microsoft Excel MVP


"Pet710" wrote in message
...
I am trying to enter a cheque number in a cell ie 000002, when I move from
the cell it comes up as just "2". Have tried everything in format cells,
number ???



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Entering 6 digit numbers into a cell with zeros at the beginning

Try a Custom (near the bottom of the category list) number format of:
000000

You could also preformat the cell as text, then do the data entry with the
leading 0's

or start your string with an apostrophe:
'000002

The top suggestion allows you to just type 2 and see 000002 in the worksheet
cell (not the formula bar). And it keeps the value numeric (probably not
important with check numbers).





Pet710 wrote:

I am trying to enter a cheque number in a cell ie 000002, when I move from
the cell it comes up as just "2". Have tried everything in format cells,
number ???


--

Dave Peterson
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
Entering 16 digit numbers in cell Dutch New Users to Excel 3 June 24th 07 11:28 PM
how can a two digit # be set up with 2 0's at the beginning 0025 LINDA Excel Worksheet Functions 2 August 23rd 06 10:38 PM
format cell to show leading zeros and make cell a three digit fiel Kristin Excel Worksheet Functions 2 July 28th 06 09:42 PM
csv file drops zeros at beginning of a set of Numbers Lisa Excel Discussion (Misc queries) 2 January 8th 05 08:53 PM
16 DIGIT NUMBERS IN CELL WITHOUT LAST DIGIT BEING A ZERO jnkell Excel Worksheet Functions 2 December 18th 04 07:13 PM


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