+ Reply to Thread
Results 1 to 5 of 5

Macro to pull all rows of data that match criteria into its own table in a new sheet

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    college park, maryland
    MS-Off Ver
    Excel 2010
    Posts
    37

    Macro to pull all rows of data that match criteria into its own table in a new sheet

    Hello,

    I have a woorksheet with many rows of data, where certain rows all have the same order number. I would like to list all rows with the same order numbers consecutively into a new sheet.

    My first thought is to use VLookUp however I will not know exactly how many rows will match each criteria and would like a macro that would just find all the rows matching my criteria and group them together in the new sheet.

    Thanks for any help!

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Macro to pull all rows of data that match criteria into its own table in a new sheet

    This is your 7th posting and not one of the previous 6 postings is marked as "Solved" even if you got a solution from a forum member. This is contrary to forum rules and I don't help those who do not follow forum rules.

    It's a nice touch to end a plea for help with "Thanks for any help" but if somebody answers you should respond as well!

    Alf

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    college park, maryland
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Macro to pull all rows of data that match criteria into its own table in a new sheet

    I was not sure how to mark a thread as solved. Obvisouly I would be happy to do so, now that I have figured that out. Whenever I receive a solution I always respond and say thank you and let them know it worked. I also always add to the user's reputation.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Macro to pull all rows of data that match criteria into its own table in a new sheet

    Whenever I receive a solution I always respond and say thank you and let them know it worked. I also always add to the user's reputation.
    That is a very good practise but for your own sake I would suggest you contact a “Forum Moderator” and ask him/her to mark your relevant postings “Solved” or somebody else may do as I did and get the wrong impression.

    I always respond
    http://www.excelforum.com/excel-prog...ame-sheet.html

    http://www.excelforum.com/excel-form...g-vlookup.html

    But enough of this let's concentrate on your problem instead. Without knowing much of your problem I would suggest using auto filter but you better upload a small sample file showing your data and how you wish the result to be.

    Alf

  5. #5
    Registered User
    Join Date
    11-16-2012
    Location
    college park, maryland
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Macro to pull all rows of data that match criteria into its own table in a new sheet

    No thanks. This thread has become very confrontational I'd rather figure it out myself. Good day

+ 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