Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cbanks
 
Posts: n/a
Default Inserting Dashes in a Column

12356789 in column a1

I want to put in column a2 123-567-89

Whats the formula to put dashed in between the numbers without havin to
retype 20000 numbers.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
PCLIVE
 
Posts: n/a
Default Inserting Dashes in a Column

Try changing the format for your cells. Select your cells. Right-click on
them and select Format Cells. Under Category, select Custom. Type the
following:

###-###-##

Hope this helps,
Paul

"cbanks" wrote in message
...
12356789 in column a1

I want to put in column a2 123-567-89

Whats the formula to put dashed in between the numbers without havin to
retype 20000 numbers.

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.misc
Fred Smith
 
Posts: n/a
Default Inserting Dashes in a Column

If you actually want the dashes stored in a cell, the formula would look like:

=left(a1,3)&"-"&mid(a1,4,3)&"-"&right(a1,2)

--
Regards,
Fred


"PCLIVE" wrote in message
...
Try changing the format for your cells. Select your cells. Right-click on
them and select Format Cells. Under Category, select Custom. Type the
following:

###-###-##

Hope this helps,
Paul

"cbanks" wrote in message
...
12356789 in column a1

I want to put in column a2 123-567-89

Whats the formula to put dashed in between the numbers without havin to
retype 20000 numbers.

Thanks






  #4   Report Post  
Posted to microsoft.public.excel.misc
bigwheel
 
Posts: n/a
Default Inserting Dashes in a Column

You need to format the cell. Click FormatCellNumberCustom then under Type
create your format thus:- 000-000-00

"cbanks" wrote:

12356789 in column a1

I want to put in column a2 123-567-89

Whats the formula to put dashed in between the numbers without havin to
retype 20000 numbers.

Thanks


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
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 03:03 AM
Maintain Relative Reference After Inserting a Column Mark T. Excel Worksheet Functions 3 January 4th 06 05:56 AM
Macro to change Chart Range when inserting a column Mark Charts and Charting in Excel 1 September 13th 05 02:12 PM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 01:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 11:36 PM


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