+ Reply to Thread
Results 1 to 3 of 3

Macro to copy rows based on a given criteria

  1. #1
    Registered User
    Join Date
    12-15-2010
    Location
    Oregon, USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Macro to copy rows based on a given criteria

    Hi Guys,
    I am trying to pull rows from a list based on the criteria if Date in Column D is less than Date in Column H i.e copy the entire row and paste in new sheet. Any help will be highly apprecited.

    Thanks.
    Roop
    Last edited by Roop; 03-13-2011 at 04:16 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Macro to copy rows based on a given criteria

    Hi Roop,

    A sample would make it easier but...
    I'd create a helper column on each row and set it = D1< H1 and copy it down. This will give you a long column of True or False.

    Then I'd do a Advanced Filter of your data and filter in only True rows.

    Without a sample file that might give you a method to do it yourself.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    12-15-2010
    Location
    Oregon, USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Macro to copy rows based on a given criteria

    Thanks a lot Marvin

+ 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