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 How do I format cells as custom and keep text formatting?

Trying to format a cell and text, need to keep zeros in front but also need
to custom format to be a upc code. Need only 12 characters and need dash in
the middle. I have tried everything please help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default How do I format cells as custom and keep text formatting?

Custom formats are only for number formats, not text.
If your data always have the same number of digits you can use a custom
format
and display a leading zero if it is less than 16 digits.

--


Regards,


Peo Sjoblom

"sherrik" wrote in message
...
Trying to format a cell and text, need to keep zeros in front but also
need
to custom format to be a upc code. Need only 12 characters and need dash
in
the middle. I have tried everything please help!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I format cells as custom and keep text formatting?

When you use the custom format, just use zeros in place of the actual digits
in the formula bar. You can still add the dash in the middle, just count out
the numbers to get the length needed.

"sherrik" wrote:

Trying to format a cell and text, need to keep zeros in front but also need
to custom format to be a upc code. Need only 12 characters and need dash in
the middle. I have tried everything please help!

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
Conditional Formatting - Applying Format Based Custom Functions FARAZ QURESHI Excel Discussion (Misc queries) 2 May 8th 08 05:03 AM
Custom Format text Nastech Excel Discussion (Misc queries) 11 December 3rd 07 08:14 PM
Compare text in cell to custom text format?? Tommy[_4_] Excel Discussion (Misc queries) 1 July 20th 07 02:45 PM
Use custom format to add text to a text entry. Pierre Excel Worksheet Functions 4 October 30th 06 04:42 PM
Custom formatting for text cells [email protected] Excel Discussion (Misc queries) 2 September 5th 06 03:07 PM


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