+ Reply to Thread
Results 1 to 7 of 7

Pulling data from one worksheet to another based on certain values in certain columns

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    fawn-like hiiront
    MS-Off Ver
    Excel 2003
    Posts
    3

    Cool Pulling data from one worksheet to another based on certain values in certain columns

    I have a spreadsheet attached where I have a main worksheet with lots of data for numerous vehicles based on a code. I want to pull the data from the main worksheet to another worksheet based on the values of Column C/Vehicle code. On the new worksheets I only want to see data for one vehicle based on a value in Column C? This is a living document so I want it to automatically update the new worksheets as the main one changes. What is the best way to do this.
    Attached Files Attached Files
    Last edited by foxkevinj; 05-28-2013 at 04:49 PM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    Have you considered using a pivot table?

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    In A4 and copy down, this ARRAY formula. Modify the red part of the formula for the other columns.

    =IFERROR(INDEX(Sheet1!A$4:A$1000,SMALL(IF(Sheet1!$C$4:$C$1000=$B$1,ROW(Sheet1!A$4:A$1000)-3),ROW(Sheet1!A1))),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    05-24-2013
    Location
    fawn-like hiiront
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    I am not totaling any of the data.. It is just static data so I don't think the pivot table will work, but I don't have a lot of experience with them. It didn't seem to work for me when I tried to create one.

  5. #5
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    A Pivot table does not need to be used to total values. You can use it to just show information dynamically. The problem you're going to have is the fact that you have pictures in your raw data tab under "Comments/Information".

    Try using the spreadsheet I attached.
    On the "Vehicle Data" tab, there is a pivot table where you can filter for the which vehicle you want to see the data for. The pivot table is using a dynamic range that will update whenever you add a new record in Sheet1. All you have to do is refresh the data by hitting F9.

    If this works for you and you want to understand what I did, let me know and I'd be happy to explain.

    ECI Tracking Form.xlsx

  6. #6
    Registered User
    Join Date
    05-24-2013
    Location
    fawn-like hiiront
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    Thats exactly what I was trying to do.... I couldn't get the items into individual columns? When I try to do this, everything goes into column A only????
    Last edited by foxkevinj; 05-28-2013 at 01:25 PM.

  7. #7
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Pulling data from one worksheet to another based on certain values in certain columns

    That's because you're using excel 2007/2010. If you want the classic pivot table look, you need to right click inside of the PT --> select PivotTable Options --> select the "Display" tab --> check the box next to Classic PivotTable layout --> click OK.

    Since you're happy with the solution you should mark this thread as [SOLVED] by editing the first post, selecting advanced and update the thread prefix.

+ 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