+ Reply to Thread
Results 1 to 4 of 4

Formula to Copy highlighted rows into another sheet in same workbook?

  1. #1
    Registered User
    Join Date
    12-12-2015
    Location
    Calirfornia
    MS-Off Ver
    2010
    Posts
    6

    Formula to Copy highlighted rows into another sheet in same workbook?

    Hi All!

    What I'm doing/using the workbook for:
    • I have created a workbook, using conditional formatting, that highlights an entire row if a specified column contains a certain word. It does this for a list of 12 specified words.
    • I copy a data set (with a specific data format) and paste it into my workbook
    • It highlights the rows of interest for me for ease of view/to save time from looking to see if the row qualifies to be put into the final workbook sheet of qualified data sets

    My Question:
    How do I then have Excel take only the highlighted rows and automatically copy paste them into sheet in the workbook?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,801

    Re: Formula to Copy highlighted rows into another sheet in same workbook?

    Hi, welcome to the forum

    There are probably easier ways to do this.

    Have you considered using filters or a Pivot Table?

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-12-2015
    Location
    Calirfornia
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Copy highlighted rows into another sheet in same workbook?

    Thanks! and thanks for the quick response.

    Would a pivot table allow me to only import rows with a specific format (like the highlighted cells)?

    I thought about using a Filter, but when I first paste in the data sets they're often between 200 - 500 lines of data. Clicking and un-clicking would be a nightmare then is what I was thinking.

    However...now that I think about it, yeah, I guess I could simply add the "list of 12 qualifiers" into the pivot table's "report filter" and then it would just show the data I was interested in then, right? Hmmm...There are things I don't like too much about the pivot tables though, so if possible I'd like to try to figure out another way.

    Definitely, I'll upload a picture here in a bit (gotta run an errand real quick). Thanks, man!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,801

    Re: Formula to Copy highlighted rows into another sheet in same workbook?

    PT's have their place, and filtering 500 lines of data should not pose a problem.

    I will wait for your upload, but please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

+ 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. Copy Highlighted Rows to another sheet
    By MBCMDR in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-07-2016, 08:56 AM
  2. copy rows from one workbook to a sheet in another workbook
    By eann in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2014, 02:44 PM
  3. [SOLVED] copy all highlighted rows to new sheet in order
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2014, 02:21 PM
  4. Copy only highlighted sheets from one workbook to another workbook
    By jeffboy29 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-08-2014, 10:38 PM
  5. Replies: 0
    Last Post: 11-12-2013, 04:56 PM
  6. [SOLVED] macro to copy rows from a sheet in one workbook to a sheet in a different workbook...
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2013, 01:36 PM
  7. Replies: 1
    Last Post: 02-27-2013, 10:33 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