+ Reply to Thread
Results 1 to 2 of 2

Worksheet Function to Edit Numbers

  1. #1
    Registered User
    Join Date
    07-10-2007
    Posts
    13

    Worksheet Function to Edit Numbers

    I have approx. 400 seperate entries that I need to change from
    21/07-13-031-29W3/0 ....to.... 121071303129W300.

    Can this be done with excel wks functions...if so how?

    raywood

  2. #2
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    Depending on what you need... if the format of the data stays the same then this should work:
    =1&LEFT(A1,2)&MID(A1,4,2)&MID(A1,7,2)&MID(A1,10,3)&MID(A1,14,4)&RIGHT(A1,1)&0

    so if it's always 3rd character is a "/" and 6th character is a "-" etc. then this works.

    Otherwise, you can do a fairly complex breakdown of the cell using the Left, Mid, and Right functions in conjunction with the Find function.

    Another option might be to do a Replace using Ctrl-H on your keyboard and replacing all "-" and "/" with nothing.

    It all depends on your needs. One could create a macro or a user defined function as well.

+ 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