+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Pushing certain data to sheet2 from sheet1

  1. #1
    Registered User
    Join Date
    09-21-2009
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Pushing certain data to sheet2 from sheet1

    I have two columns of data on sheet1 and I want to push rows of data (if they match my search parameters) to sheet 2.
    Sheet 1
    x a
    y b
    z c
    x d
    x e
    y f

    If I was searching on column 1 for instances of 'x' Sheet 2 should look like:
    x a
    x d
    x e

    Thanks for your help!
    Last edited by spazzmon; 09-23-2009 at 09:09 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: Pushing certain data to sheet2 from sheet1

    Hi Spazzmon, welcome to the forum.

    You don't have to move the data from one sheet to another to see smaller subsets of data, you can do it right there in your original sheet.

    Turn on the Data > Filter > Autofilter.

    Now you can use the dropdown in the first column and select "x" and all the matching rows will appear, the others hidden. You can switch to any other filter at any time and show all again. Never have to move anything.

    Of course, once you've filtered by "x", you could highlight and copy everything you see to sheet1...only the visible rows will be copied. That's another benefit of the AutoFilter.
    _________________
    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
    09-21-2009
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Pushing certain data to sheet2 from sheet1

    I tried that and it works fine. The problem that I have is more complicated though. I am attempting to set up a complex data report that sorts on multiple fields seperated by headers. I have attached an example. Sheet 1 is the raw data and Sheet 2 has the desired results. Please help!
    Attached Files Attached Files

  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: Pushing certain data to sheet2 from sheet1

    Try this:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-21-2009
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Pushing certain data to sheet2 from sheet1

    Excellent! The solution you posted works great. Thanks again.

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

    Re: Pushing certain data to sheet2 from sheet1

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

+ 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