If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Remove the - from a zip+4 cell
Use a "helper" column with this formula:
=SUBSTITUTE(A1,"-","") Copy down as needed. Now, to remove the formulas, and leave the data behind: Select this column, right click in the selection, and choose "Copy". Right click again and choose "PasteSpecial", Click on "Values", then OK. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Allen Clark" wrote in message ... I am working on a conversion from an access DB to a SQL DB and I am using Excel to format the text files into the formats that are required for the data conversion scripts to run. I have several zipcode fields that have 5 or 9 digit zipcodes. Most of them have a - in the sixth position. In order to format the data correctly, I must remove the - from the cell. Can anyone recommend a way to remove the - and leave a 5 or 9 digit text value? Thanks in advance, Allen |
#2
|
|||
|
|||
Remove the - from a zip+4 cell
=SUBSTITUTE(A1,"-","")
|
#3
|
|||
|
|||
Remove the - from a zip+4 cell
Worked like a champ!
Thanks for the assistance! "RagDyer" wrote in message ... Use a "helper" column with this formula: =SUBSTITUTE(A1,"-","") Copy down as needed. Now, to remove the formulas, and leave the data behind: Select this column, right click in the selection, and choose "Copy". Right click again and choose "PasteSpecial", Click on "Values", then OK. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Allen Clark" wrote in message ... I am working on a conversion from an access DB to a SQL DB and I am using Excel to format the text files into the formats that are required for the data conversion scripts to run. I have several zipcode fields that have 5 or 9 digit zipcodes. Most of them have a - in the sixth position. In order to format the data correctly, I must remove the - from the cell. Can anyone recommend a way to remove the - and leave a 5 or 9 digit text value? Thanks in advance, Allen |
Thread Tools | |
Display Modes | |
|
|