Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alwyn
 
Posts: n/a
Default Insert "-" in text "1234567890" to have a output like this"123-456-7890"

This is a very simple requirement. Can anyone help me with this ASAP.

What i need:- Insert "-" in text "1234567890" to have a output like
this"123-456-7890"

Thanks in advance!!!

Regards,

Alwyn

  #2   Report Post  
Elkar
 
Posts: n/a
Default Insert "-" in text "1234567890" to have a output like this"123-456

Change the format of the cells to "Custom" and enter 000-000-0000

"Alwyn" wrote:

This is a very simple requirement. Can anyone help me with this ASAP.

What i need:- Insert "-" in text "1234567890" to have a output like
this"123-456-7890"

Thanks in advance!!!

Regards,

Alwyn


  #3   Report Post  
Sloth
 
Posts: n/a
Default Insert "-" in text "1234567890" to have a output like this"123

That is the easiest solution to change the output of the cells. If you want
to actually change the content of the cells you will need to create a dummy
column and use the formula

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

After copying this formula down the list, you can then copy the column and
paste special selecting "values".


"Elkar" wrote:

Change the format of the cells to "Custom" and enter 000-000-0000

"Alwyn" wrote:

This is a very simple requirement. Can anyone help me with this ASAP.

What i need:- Insert "-" in text "1234567890" to have a output like
this"123-456-7890"

Thanks in advance!!!

Regards,

Alwyn


  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Insert "-" in text "1234567890" to have a output like this"123-456-7890"

On 25 Oct 2005 14:22:49 -0700, "Alwyn" wrote:

This is a very simple requirement. Can anyone help me with this ASAP.

What i need:- Insert "-" in text "1234567890" to have a output like
this"123-456-7890"

Thanks in advance!!!

Regards,

Alwyn


=TEXT(1234567890,"000-000-0000")

--ron
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
How do I insert a leader from the end of text to the end of a cel. wstock3 Excel Discussion (Misc queries) 6 February 4th 05 03:08 PM
How do I insert a clip art picture into a text box in word 2003 Lindas Excel Discussion (Misc queries) 2 January 26th 05 05:47 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 01:37 AM
Retriveing a text from one sheet and insert to another cookie Excel Worksheet Functions 1 January 3rd 05 08:09 AM
Any way to get around the 240-character line limit on text output? awp Excel Discussion (Misc queries) 3 December 15th 04 12:59 AM


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