LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Format cells with numbers and text


i'm trying to make a spreadsheet for work and i'm having trouble. mos
of the data is pretty standardized, but there are some cases where
can't figure out how to program the "Format Cells - Custom" to displa
both numbers and text.

most of the data looks like 1234-12-123-1234, and i hit the "Forma
Cells" to where i can type in the data without the dashes and the cel
would display it with dashes. Here's the kicker...some of our dat
needs two letters after the numbers, ie, 1234-12-123-1234AB How do
program the cells to where all i have to type is the 13 or 1
alphanumeric without dashes and get it to display properly in th
cell?

Codes i've tried under the custom cell format a
####-##-###-####??
####-##-###-####**
####-##-###-####;"";""
####-##-###-####;"@"
####-##-###-####"@"

I guess i need to find out what symbol to use as a variable for text.

Thank

--
oboe_jo
-----------------------------------------------------------------------
oboe_joe's Profile: http://www.excelforum.com/member.php...fo&userid=1607
View this thread: http://www.excelforum.com/showthread.php?threadid=27532

 
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 do I format numbers as text Brenda Excel Worksheet Functions 2 January 19th 10 01:54 AM
format text to numbers Davidm Excel Discussion (Misc queries) 1 June 23rd 09 12:23 PM
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
Format text to numbers Jamesy Excel Discussion (Misc queries) 3 January 10th 06 07:06 PM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM


All times are GMT +1. The time now is 04:48 PM.

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"