Closed Thread
Results 1 to 5 of 5

Help Organizing Data Pulled from Web Query

  1. #1
    Registered User
    Join Date
    05-05-2014
    Location
    Media, PA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Help Organizing Data Pulled from Web Query

    I need some help transposing data I am getting from a simple web query into a more organized form.

    Take a look:
    https://www.dropbox.com/s/wo1tdpbhp7...ry%20Test.xlsx

    The data that I am getting from the query is displayed on Sheet1 (take a look at the query to get an idea of what the source table looks like). I want to take that data and organize it so that it neatly and automatically fills into the columns I have set up in Sheet2.

    Is there a way of taking the individual cells from the table import of the query and organizing them on Sheet 2?

    An important note: the table that is selected by the web query is updated regulary - new entries (studies) are added and removed periodically. I need it so that the organized table in Sheet2 is automatically populated when that does happen.

    Thank you!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2407 Win 11 Home 64 Bit
    Posts
    24,085

    Re: Help Organizing Data Pulled from Web Query

    The following code will re-organize the data in Sheet 1 and place it on Sheet 3.

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-05-2014
    Location
    Media, PA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help Organizing Data Pulled from Web Query

    Quote Originally Posted by alansidman View Post
    The following code will re-organize the data in Sheet 1 and place it on Sheet 3.

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Worked perfectly! Thanks!

  4. #4
    Registered User
    Join Date
    01-09-2018
    Location
    United States
    MS-Off Ver
    Excel for Mac v.15.41
    Posts
    1

    Re: Help Organizing Data Pulled from Web Query

    I know this is an old thread, but I'm wondering if there is a way to customize this macro to adjust https://www.dropbox.com/s/zcr2n9cyb9...sting.iqy?dl=0 ? When I bring this web query into Excel, it's organized enough to manually cut and paste everything as I want, but I'm wondering if there is a way to automate this with this macro to have columns of the information like the attached image.

    Screen Shot 2018-01-09 at 9.41.46 AM.png

    Thanks in advance! Any help would be greatly appreciated!

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2407 Win 11 Home 64 Bit
    Posts
    24,085

    Re: Help Organizing Data Pulled from Web Query

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formatting data pulled from web
    By cps439 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2011, 04:35 PM
  2. highlighting data pulled from vlookup
    By SlimPickens in forum Excel General
    Replies: 10
    Last Post: 11-03-2010, 05:57 PM
  3. Identifying non-pulled data from Vlookups
    By rhyan66 in forum Excel General
    Replies: 4
    Last Post: 07-07-2010, 04:26 PM
  4. how to get the data pulled from multiple sheets?
    By all4excel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-29-2007, 05:07 PM
  5. [SOLVED] Refreshing Data Pulled Thru a Function
    By Chris Brown in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2005, 03:05 PM

Tags for this Thread

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