+ Reply to Thread
Results 1 to 6 of 6

macro to copy columns to another sheet when condition is met

  1. #1
    Registered User
    Join Date
    01-17-2021
    Location
    Manila Philippines
    MS-Off Ver
    Office 365
    Posts
    3

    macro to copy columns to another sheet when condition is met

    generated report displayed records that falls within the target month in reference to date(column G) and picks up only data with status(column H) = Open

    final report displays:
    Description (column c)
    corrective action (column d)
    target date (column l)
    extension (column m)

    appreciate any help.
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,860

    Re: macro to copy columns to another sheet when condition is met

    How do you determine the target month? Also, you have dates for both 2020 and 2021. Do you want to included both years?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    01-17-2021
    Location
    Manila Philippines
    MS-Off Ver
    Office 365
    Posts
    3

    Re: macro to copy columns to another sheet when condition is met

    i was thinking of placing a cell to select month and year then hit submit to generate the report. will that work?

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,860

    Re: macro to copy columns to another sheet when condition is met

    Try the attached file. Click the "Copy Data" button.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-17-2021
    Location
    Manila Philippines
    MS-Off Ver
    Office 365
    Posts
    3

    Re: macro to copy columns to another sheet when condition is met

    works perfectly. thank you!

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,860

    Re: macro to copy columns to another sheet when condition is met

    You are very welcome.

+ 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 Specific columns to another sheet if condition is met
    By abac in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-01-2019, 09:10 AM
  2. Macro to copy values on a sheet based on a condition
    By mcane in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2017, 08:26 PM
  3. [SOLVED] Macro to copy data to other sheet according a condition.
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-13-2013, 07:12 AM
  4. Need a macro to copy data from one sheet to another based on condition.
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2013, 01:56 AM
  5. Macro to copy from one sheet and paste in another if a condition is met.
    By dlholland1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-29-2013, 09:41 AM
  6. Macro to Copy cells in a row to another sheet if a condition is met
    By neidem1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2012, 11:32 AM
  7. Macro to Copy Rows with Certain Condition to another Sheet?
    By rorybecers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2011, 09:15 AM

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