LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default I want to add dashes in a cell which has both number and tex

=LEFT(A1,4)&"-"&MID(A1,5,4)&"-"&MID(A1,9,4)&"-"&RIGHT(A1,4)

"shafali" wrote:

I want to add dashes in a cell which has both number and text. for example, a
cell contaion 10G101211100011 and i want to change it to 100G-1012-1110-0011.
Is there a formula i can use?

 
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 to put dashes in a number 13000000000 to 1300-000-0000 Jimbo Excel Discussion (Misc queries) 2 May 22nd 07 10:26 PM
How do I delete dashes from a phone number xxx-xxx-xxxx in Excel? ARADER Excel Worksheet Functions 3 February 16th 07 06:19 PM
Removing dashes from ISBN's while still keeping 1st number (zero) aprilb Excel Worksheet Functions 3 October 12th 06 06:15 PM
removing dashes changes test into number DanM Excel Discussion (Misc queries) 3 September 21st 06 03:06 AM
How do I format a social security number to have no dashes? Kim Excel Discussion (Misc queries) 5 July 17th 06 10:13 PM


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