LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default How do I set up a cell format in Excel?

try =left(A1,2)&"-"&mid(A1,3,2)&"-"&Right(A1,4)

"Jim" wrote:

Yes, all locations have exactly the same number of characters. And I was
given the list of locations without the hyphens. I am going to be using
another program with ODBC to create a specific barcoded label for each
location. The locations were given to me like: 1201011A I need it to display
as 12-01-011A I do not know much about excel. There are only 4 different
letter options at the end of my locations: A,B,C,T. Any help would be
appreciated.

"bj" wrote:

are the numbers in text or are they numeric?
with the final A it apears they are text
do you build them from other cells or do you just type them in?
if you type them in, what do you want to type in to get the results you want?
Do all of the locations have exactly the same number of characters?

(Don't you hate it when you ask if something can be done, and the standard
response is "what do you want done?")

"Jim" wrote:

I have some rack locations in a warehouse but I need the format to show with
hyphens. 12-01-011A And I cannot seem to get any of the custom cell formats
to work for me. Any ideas?

 
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
Does Excel have a cell format for lat/long in ° min sec format? usudragon Excel Discussion (Misc queries) 1 August 1st 06 06:53 PM
Can Excel 2003 cell link carry with it the source cell format? tom Excel Discussion (Misc queries) 2 July 14th 06 06:14 AM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
cell format for date/time in same cell excel 2003 Sandy Excel Worksheet Functions 1 January 18th 06 03:46 AM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


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