#1   Report Post  
Posted to microsoft.public.excel.misc
walkerdayle
 
Posts: n/a
Default Custom Formatting


I'm trying to create a custom format to enter in some data. This is
what I've tried thus far and excel won't let me do it

@##@-#@@#-####-@#@@

I want to enter data that looks like this: B04Z-0FQ1-2323-U3FY

Any help??


--
walkerdayle
------------------------------------------------------------------------
walkerdayle's Profile: http://www.excelforum.com/member.php...o&userid=10021
View this thread: http://www.excelforum.com/showthread...hreadid=486878

  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Custom Formatting

You can't create a custom format like that for text, only numbers
You would need an event macro that will convert it but that means changing
the values (or you can use a formula in another cell that will do it)

--

Regards,

Peo Sjoblom

"walkerdayle"
wrote in message
...

I'm trying to create a custom format to enter in some data. This is
what I've tried thus far and excel won't let me do it

@##@-#@@#-####-@#@@

I want to enter data that looks like this: B04Z-0FQ1-2323-U3FY

Any help??


--
walkerdayle
------------------------------------------------------------------------
walkerdayle's Profile:

http://www.excelforum.com/member.php...o&userid=10021
View this thread: http://www.excelforum.com/showthread...hreadid=486878



  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Custom Formatting

If you enter your data preceded with a single apostrophe, Excel will leave it
alone.
--
Gary's Student


"walkerdayle" wrote:


I'm trying to create a custom format to enter in some data. This is
what I've tried thus far and excel won't let me do it

@##@-#@@#-####-@#@@

I want to enter data that looks like this: B04Z-0FQ1-2323-U3FY

Any help??


--
walkerdayle
------------------------------------------------------------------------
walkerdayle's Profile: http://www.excelforum.com/member.php...o&userid=10021
View this thread: http://www.excelforum.com/showthread...hreadid=486878


  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Custom Formatting

Maybe you could enter the 16 character string, then use another cell to display
the nicely formatted version:

If you put
@##@#@@#####@#@@
in A1

You could use this in B1:
=IF(A1="","",IF(LEN(A1)<16,"Error",
LEFT(A1,4)&"-"&MID(A1,5,4)&"-"&MID(A1,9,4)&"-"&RIGHT(A1,4)))

(all one cell)

walkerdayle wrote:

I'm trying to create a custom format to enter in some data. This is
what I've tried thus far and excel won't let me do it

@##@-#@@#-####-@#@@

I want to enter data that looks like this: B04Z-0FQ1-2323-U3FY

Any help??

--
walkerdayle
------------------------------------------------------------------------
walkerdayle's Profile: http://www.excelforum.com/member.php...o&userid=10021
View this thread: http://www.excelforum.com/showthread...hreadid=486878


--

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
make custom formatting permanent simha Excel Worksheet Functions 1 November 15th 05 11:29 PM
Custom Formatting for Dates nastech Excel Discussion (Misc queries) 7 November 14th 05 09:23 AM
Custom charts - default formatting tomjohns Charts and Charting in Excel 2 September 19th 05 01:34 PM
Custom formatting to force a decimal place Mike K Excel Discussion (Misc queries) 3 July 31st 05 10:56 AM
Custom Formatting a number Hari Prasadh Excel Discussion (Misc queries) 8 January 22nd 05 01:40 PM


All times are GMT +1. The time now is 04:19 AM.

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"