Results 1 to 3 of 3

Copy and paste data based on criteria

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Copy and paste data based on criteria

    I need help writing a macro to copy and paste data based on criteria in a loop.

    Data to be copied starts in Row 25 and ends in Row 66 at the word "Stop"

    The criteria for each example is shaded in blue in rows 2&3(New Rating and Old Rating).

    Starting with the first example- If the New Rating =Buy and the Old Rating = Initiating then copy all rows from 25:66 that have Buy in column D and Initiating in column E. Then paste these rows as values into the data input starting in A87.

    The results should now appear in A8:D22. Next copy and paste as values these results into F8:I22.

    Clear the data from the data input and then go to the next example. New Rating=Buy and Old Rating = Neutral

    I would like a macro to loop through every example.


    Does this make sense? Any help would be greatly appreciated!!
    Attached Files Attached Files

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