+ Reply to Thread
Results 1 to 7 of 7

Arange Imported Data

  1. #1
    Registered User
    Join Date
    07-24-2009
    Location
    Constanta
    MS-Off Ver
    Excel 2010
    Posts
    62

    Arange Imported Data

    Hello,
    I need your help, if possible, to arange the data I imported. I can not find a pattern in my imported data to work with it. That is why I need the data from "IMPORTED DATA" aranged automaticaly just like in the "RESULTS" example.
    Please check the attach.
    Thank you in advance for any ideea you may have!
    Attached Files Attached Files
    Last edited by magicool; 08-04-2010 at 04:42 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Arange Imported Data

    based on your imported data, this will create your results on Sheet2:

    Please Login or Register  to view this content.

    How/Where to install the macro:

    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save as a macro-enabled workbook

    The macro is installed and ready to use. Press Alt-F8 and select CreateSummary from the macro list.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-24-2009
    Location
    Constanta
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Arange Imported Data

    Hello,
    Thank You for the code! I could not do this in a million years .
    Is it possible to get the results in the same sheet? I have a lot of sheets in the workbook, so it would be great to see the results in the same sheet, near the imported data. From there I'll take the data with vlookup and place it where is needed.

    Thank You!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Arange Imported Data

    Try this, it will operate on whatever the activesheet is.
    Please Login or Register  to view this content.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Arange Imported Data

    ...and this version will cycle through every sheet in a workbook and try to create your summary for each sheet...you did say you had a bunch of sheets to do, this will attempt to do them all at once. It will function on any sheet that has IMPORTED DATA in cell D1.
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 08-04-2010 at 08:35 AM. Reason: Added comments in code

  6. #6
    Registered User
    Join Date
    07-24-2009
    Location
    Constanta
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Arange Imported Data

    Thank You so much!
    I wish I could understand the code so I can modify it in the future. But for now it works perfect.

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Arange Imported Data

    I've added commentary to help explain what each section of code is doing, download the code again from post #5.

+ 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