+ Reply to Thread
Results 1 to 9 of 9

Changing the data in a column

Hybrid View

  1. #1
    Registered User
    Join Date
    02-07-2007
    Posts
    8

    Changing the data in a column

    For whatever reason, the data are provided to me in this format, # being a number, / being a /:

    ###/#######

    I want these data to ultimately be: ###-###-####, which I know I could obtain if I had ##########. So, do you have one or two steps. I will take either. These data are in a column. Thank you.

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211
    Quote Originally Posted by twilsonmi
    For whatever reason, the data are provided to me in this format, # being a number, / being a /:

    ###/#######

    I want these data to ultimately be: ###-###-####, which I know I could obtain if I had ##########. So, do you have one or two steps. I will take either. These data are in a column. Thank you.
    =--SUBSTITUTE(A1,"/","")

    Format cells as 000-000-0000

  3. #3
    Registered User
    Join Date
    02-07-2007
    Posts
    8
    I am presuming that you mean to input the line:

    =--SUBSTITUTE(A1,"/","") or
    SUBSTITUTE(A1,"/","")

    in the "Custom" format section on the number tab. I input each of these and got an error: "Excel cannot use the formula you typed," or whatever it said, "use one of the formulas there, or click on help, etc."

    Tim.

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211
    Quote Originally Posted by twilsonmi
    I am presuming that you mean to input the line:

    =--SUBSTITUTE(A1,"/","") or
    SUBSTITUTE(A1,"/","")

    in the "Custom" format section on the number tab. I input each of these and got an error: "Excel cannot use the formula you typed," or whatever it said, "use one of the formulas there, or click on help, etc."

    Tim.
    Yes, put double lines after the equal sign

  5. #5
    Registered User
    Join Date
    02-07-2007
    Posts
    8
    =--SUBSTITUTE(A1,"/","") returns that error, "Excel cannot use the number formula, etc."

  6. #6
    Registered User
    Join Date
    02-07-2007
    Posts
    8
    Is there anyone who can answer how to change the value in this field? As I stated, the present format for all values in this column is:

    ###/#######, where "#" is a number and "/" is the actual character /

    Previous answers have not worked.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1