Select the cells that you want your hyphen in. Go to Format-Cells (or type CTRL+1) and in the Number tab, under Category, select Custom. Type in 00-00000
Hope this helps,
Russell
Cheri --
Since your product codes are all 7 digits,
insert a new column next to the column containing these codes, and
enter
=LEFT(A1,2)&"-"&MID(A1,3,5) [ assuming orig codes in A, otherwise ad just ]
then give a double click on the little black square of the cell that houses the above formula.
Aladin
=======
not sure if this is the best way to do it, but, assuming your first 7-digit product code is in cell A1 :
=MID(+A1,1,2)&"-"&MID(+A1,3,5)
typed into cell B1 should work (then maybe copy/paste special/values the whole of column B)
Is this what you had in mind ?
Chris
we are not going match them to a column of product codes with real hyphens in them...
Aladin
==========