+ Reply to Thread
Results 1 to 4 of 4

Transform Data

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    8

    Transform Data

    Hello, sorry for the limited title description, but I was at a loss for how to actually describe what I am looking to do.

    I have a workbook that has been kept for over 10 years and I would like to transform this data into a bit more usable form. In short, for any row, I have a number, which is currently a combination of an integer and a letter (either B, L or M). I would like to separate these, so the integer remains in the "#" column, while the letters are added to a separate column (for each letter). Alternatively, if this is easier, the letter could be just added to a single column.

    An example is attached.

    Columns A through E are what the format currently looks like. The options above that I described are H through L or N through P. The "Compound" column can be almost anything and there are many duplicates that should remain separate.

    Thanks in advance for all your help.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Transform Data

    Try this:

    I2 =LEFT(B2,LEN(B2)-1)+0
    Drag down

    J2 =LEFT(B2,LEN(B2)-1)+0
    Drag to the right and down

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Transform Data

    If you wanted to do it the other way, you can do this:

    O2 =LEFT(B2,LEN(B2)-1)+0
    Drag down

    P2 =RIGHT(B2,1)
    Drag down

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Transform Data

    Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. How to Transform data quizz?
    By tta.akmal in forum Excel General
    Replies: 1
    Last Post: 06-12-2018, 10:25 AM
  2. Using SQL to transform Excel data
    By cyiangou in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-02-2015, 05:46 AM
  3. Need Help: Transform Column to Row Data
    By inal30 in forum Excel General
    Replies: 2
    Last Post: 08-29-2013, 09:07 AM
  4. VBA to Transform and format data
    By rggovani in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2013, 09:18 AM
  5. transform irreguler data with vba?
    By webmeup in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2013, 09:55 PM
  6. Transform Data Set
    By whitehead6682 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2011, 09:17 AM
  7. Transform Data from A1,b1,C1 to A50,A51,A52
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2007, 05:33 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