Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Phoenix
 
Posts: n/a
Default Insert colon in text in cell


didnt't know what to search to find it on the forum, so here is the
problem.


I need to insert colon to places to the left, like "X12345"="X123:45",

and "X1234"="X12:34" etc.

I'm sure it's a simple answer for you guys, but not for me


--
Phoenix
------------------------------------------------------------------------
Phoenix's Profile: http://www.excelforum.com/member.php...fo&userid=2921
View this thread: http://www.excelforum.com/showthread...hreadid=507993

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Insert colon in text in cell

One way, assuming source data in A1 down
put in B1: =LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2)
Copy B1 down

Freeze col B with an in-place: Copy Paste special Check "Values" OK
Then delete col A
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Phoenix" wrote in
message ...

didnt't know what to search to find it on the forum, so here is the
problem.


I need to insert colon to places to the left, like "X12345"="X123:45",

and "X1234"="X12:34" etc.

I'm sure it's a simple answer for you guys, but not for me


--
Phoenix
------------------------------------------------------------------------
Phoenix's Profile:

http://www.excelforum.com/member.php...fo&userid=2921
View this thread: http://www.excelforum.com/showthread...hreadid=507993



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default Insert colon in text in cell

Hi Phoenix,
If A1 contains X12345 then =LEFT(A1,LEN(A1)-2) & ":" & RIGHT(A1,2)
pasted into any other cell will result in that cell displaying X123:45

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Phoenix
 
Posts: n/a
Default Insert colon in text in cell


Thanx guys!

Phoenix


--
Phoenix
------------------------------------------------------------------------
Phoenix's Profile: http://www.excelforum.com/member.php...fo&userid=2921
View this thread: http://www.excelforum.com/showthread...hreadid=507993

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Insert colon in text in cell

You're welcome !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Phoenix" wrote in
message ...

Thanx guys!

Phoenix



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
Shade cell according to text? Ltat42a Excel Discussion (Misc queries) 0 January 3rd 06 07:37 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Need macro to insert text string while inside cell (formula) BrianB Excel Discussion (Misc queries) 0 May 31st 05 03:18 PM
On click, copy text into another cell - XL2K Bob the Builder Excel Worksheet Functions 2 March 16th 05 11:03 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 08:12 PM


All times are GMT +1. The time now is 05:55 PM.

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"