Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Format a number (i.e. 1111111111111111) to show XXXX-XXXX-1111-11

How would I format a cell to show a 16 digit number (i.e. 1234567891234567)
to look like XXXX-XXXX-9123-4567 after I type in the number.

Thanks for your help in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default Format a number (i.e. 1111111111111111) to show XXXX-XXXX-1111-11

You will have to treat it as text, and not a number.
Excel only allows 15 significant digits.

Format the column a text or enter a single quote
before the "number", which is in fact an identity
"number".

--
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rjbind" wrote in message ...
How would I format a cell to show a 16 digit number (i.e. 1234567891234567)
to look like XXXX-XXXX-9123-4567 after I type in the number.

Thanks for your help in advance.



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
convert time in xxxx format to xx:xx jenn Excel Discussion (Misc queries) 8 March 6th 08 07:39 AM
Subtotal without "xxxx total" but only xxxx ashish128 Excel Discussion (Misc queries) 3 May 2nd 06 01:07 PM
adding a ' ie 'xxxx instead of xxxx cclambie Excel Worksheet Functions 6 December 6th 05 04:25 AM
change dots to dashes in an account format (xx.xxxx.xxxx) to xx-xx Michael Excel Discussion (Misc queries) 1 July 1st 05 10:44 PM
Custom Format text XX:XXXX:XX mustard Excel Discussion (Misc queries) 1 February 17th 05 02:50 AM


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