Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default ADDING DASHES WITHIN NUMBERS IN A COLUMN

i have a column of part numbers (1391 lines) and i need to insert a
dash/hyphen into each number at a specific place. for example, one original
number is

HQ505279513

and i need it to be

HQ5052795-13

this then has to be repeated for all the other numbers in that column. am i
able to perform this in excel 2003?

thanks,
paul
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default ADDING DASHES WITHIN NUMBERS IN A COLUMN

You could use another column with formulas like:

=left(a1,9)&"-"&right(a1,2)

if all the cells contain 11 character numbers.



paulp wrote:

i have a column of part numbers (1391 lines) and i need to insert a
dash/hyphen into each number at a specific place. for example, one original
number is

HQ505279513

and i need it to be

HQ5052795-13

this then has to be repeated for all the other numbers in that column. am i
able to perform this in excel 2003?

thanks,
paul


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default ADDING DASHES WITHIN NUMBERS IN A COLUMN

Say your data is in column A. In another column:

=LEFT(A1,9) & "-" & RIGHT(A1,2)
--
Gary''s Student - gsnu200780


"paulp" wrote:

i have a column of part numbers (1391 lines) and i need to insert a
dash/hyphen into each number at a specific place. for example, one original
number is

HQ505279513

and i need it to be

HQ5052795-13

this then has to be repeated for all the other numbers in that column. am i
able to perform this in excel 2003?

thanks,
paul

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
Is there a way to insert dashes in a column of numbers Mickie New Users to Excel 7 April 30th 23 11:43 AM
Adding columns containing numbers with dashes Randi New Users to Excel 6 September 7th 07 05:40 PM
Adding Dashes to a 25 digit alphanumeric cell Nick Excel Discussion (Misc queries) 7 August 27th 07 05:02 PM
Convert phone numbers with dashes in them to just numbers J H Excel Discussion (Misc queries) 2 June 23rd 06 06:56 PM
Convert phone numbers with dashes in them to just numbers J H Excel Discussion (Misc queries) 2 June 23rd 06 02:40 AM


All times are GMT +1. The time now is 03:10 AM.

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"