+ Reply to Thread
Results 1 to 5 of 5

Data transformation in Excel cells.

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Data transformation in Excel cells.

    Hi All.

    I have following 1 problem or rather 2 problems:

    Problem 1:

    I have column in Excel which is a phone number column.
    So all numbers in this column are phone numbers.

    Problem is that this column is edited by few people.
    So in there I have entries like:
    For example:

    123-123-1234

    Many of entries like this.

    Some entries look like:

    (123)-123-1234

    Well problem is that in order for dialler to dial properly from cell number has to be plain.
    I mean has to have no - or () signs in them.

    So I would like to convert column of data looking like.

    123-123-1234

    to

    1231231234

    Question ? Is there any way to convert entire column this way in Excel ???

    Problem 2:

    On some sheets I have only numbers from particular country e.x. Colombia.
    So numbers are ok, in therms of formatting so they go like 0123456789.
    But in order for dialler to dial them correctly they need all to have Colombian prefix in front of them, which is 0057.

    So in this case I would like to convert entire column from this:

    0123456789

    to this

    00570123456789

    And here comes second question ?
    Is there a way in Excel to convert entire column this way ??

    I will a lot appreciate any answer and help.
    Thanks

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Data transformation in Excel cells.

    Question 1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    And copy down as needed

    Question 2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    And copy down as needed

    Please see attached

    numbers.xlsx


    As for changing all of the cells without formulas, you would want to post a question in the VB forums for lines of code to accomplish this.
    Last edited by daffodil11; 08-09-2013 at 03:16 PM.

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Data transformation in Excel cells.

    For question 1, if you really want to be absolutely sure there are no other characters but numbers in it, watch this video (found in another thread):

    http://www.youtube.com/watch?v=bqsvOygpQWc
    When I say semicolon, u say comma!

  4. #4
    Registered User
    Join Date
    08-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Data transformation in Excel cells.

    Quote Originally Posted by daffodil11 View Post
    Question 1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    And copy down as needed
    This is working perfect so far
    Thanks testing second solution
    THX

  5. #5
    Registered User
    Join Date
    08-08-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Data transformation in Excel cells.

    Quote Originally Posted by bartszu View Post
    This is working perfect so far
    Thanks testing second solution
    THX
    Well second formula is working perfect too.
    Last edited by bartszu; 08-09-2013 at 10:23 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data Transformation Required
    By theabdulrab in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-22-2012, 06:46 AM
  2. Data transformation
    By jaZZerkill in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-28-2012, 06:56 AM
  3. transformation of data?
    By schallpattern in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-02-2008, 10:16 PM
  4. Data Transformation
    By zaisaki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2005, 12:05 AM
  5. Data transformation problem
    By shysong in forum Excel General
    Replies: 0
    Last Post: 06-24-2005, 03:05 PM

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