+ Reply to Thread
Results 1 to 4 of 4

Copy Rows based on a Condition

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

    Copy Rows based on a Condition

    The tab LS Raw Data Close has 7 examples labeled in Column A

    Can someone please help me write a basic macro that goes through each example and identifies if there is a date in column I. If there is a date in Column I then copy range B:BY to A61 on the worksheet Results Long Data Close ERN.

    If there is no date in Column I then copy the range B:BY to A61 on the worksheet Results Long Data Close.

    In my spreadsheet I copied by hand the data into the appropriate cells to show you how the data should copy after the macro runs.

    I am not very good at writing macros so any help with this would be great!
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Copy Rows based on a Condition

    Nobody wants to open a 1 mg workbook, keep your sample simple and refers directly to your question.

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

    Re: Copy Rows based on a Condition

    Sorry. Here is a smaller version of the file.
    Attached Files Attached Files

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

    Re: Copy Rows based on a Condition

    I need this for a work project so any help with this would be greatly appreciated. Thanks in advance

+ 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