+ Reply to Thread
Results 1 to 3 of 3

Pull data into a table through Macro

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Pull data into a table through Macro

    Hi - I have very little VBA knowledge. I am wondering if there is a way to pull in data from a different tab into a preset table? I guess i am looking for something like a vlookup formula, but dont want to enter each resource name manually for the formula to work.

    I have list of resources, list of their tasks, and hours assigned to each task. Each resource has multiple rows of data that needs to be pulled into a tabular form. Pivot table just does not look good enough. I have over 100 resources to do this for each week.

    Name Task Hours
    John Smith Xyz 6
    John Smith abc 4
    John Smith mno 7
    Amy Smith ups 10
    Amy Smith tre 7
    Ian Smith hjk 8
    Ian Smith bnm 4
    Ian Smith tre 6
    Ian Smith rew 8
    Ian Smith ikl 2

    Here is the expected output for each resource

    Name Task Name Hours
    John Smith Xyz 6
    abc 4
    mno 7
    Total Hours 17
    Is there a way i can acheive this output? Please help!

    Thanks.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Pull data into a table through Macro

    Submit a copy of your workbook, or an example workbook, which clearly shows what you want it to look like before and after.

  3. #3
    Registered User
    Join Date
    01-07-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Re: Pull data into a table through Macro

    Please see attached for the data and expected output.

    Thanks again!
    Attached Files Attached Files

+ 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. [SOLVED] Pull data every table across all tabs
    By benji912 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-24-2014, 09:06 PM
  2. Macro to "Pull Down or Up" a Table based on Pivot Table Size
    By rmmohan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2013, 09:16 AM
  3. [SOLVED] Pull Data from one table to another
    By cjest2002 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-15-2013, 07:53 PM
  4. Macro to pull all rows of data that match criteria into its own table in a new sheet
    By balston2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2013, 02:08 PM
  5. [SOLVED] Pull Pivot Table Data
    By Dave in forum Excel General
    Replies: 0
    Last Post: 05-23-2006, 10:15 AM

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