Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Cell format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mcg - 06 Jan 2006 08:54 GMT
hi,
how can i format cell containing WI12345 to be displayd asWI 12345 (
with space after 2 signs )
thanks
mcg
Pete_UK - 06 Jan 2006 09:29 GMT
Assuming your data is in cell A1, and that you allways want 2
characters before the space, the following formula will do this:

=LEFT(A1,2) &" "&  RIGHT(A1,LEN(A1) - 2)

Hope this helps.

Pete
Ken Wright - 06 Jan 2006 14:35 GMT
Don't believe you can, because you have text in the cell and not a number.
Are all the prefixes WI because if so then you can get rid of all the WIs
and then format the remaining numbers to appear just the way wanted,
including the WI prefix.

Signature

Regards
          Ken.......................    Microsoft MVP - Excel
             Sys Spec - Win XP Pro /  XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------­------------------------------­----------------

> hi,
> how can i format cell containing WI12345 to be displayd asWI 12345 (
> with space after 2 signs )
> thanks
> mcg
Dave Peterson - 06 Jan 2006 15:24 GMT
Maybe you can enter the data in one column and use another column to show the
pretty format:

=left(a1,2)&" "&mid(a2,3,255)

> hi,
> how can i format cell containing WI12345 to be displayd asWI 12345 (
> with space after 2 signs )
> thanks
> mcg

Signature

Dave Peterson

Gazeta - 06 Jan 2006 21:05 GMT
> Maybe you can enter the data in one column and use another column to show the
> pretty format:
[quoted text clipped - 10 lines]
>
> Dave Peterson

thanks for suggestions
i will have to force user to enter it as wi12345 which is registration plate
for car
or i will have to vlookup for =left(a1,2)&" "&mid(a2,3,255)...
mcg
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.