+ Reply to Thread
Results 1 to 3 of 3

Macro to copy rows based on value

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Unhappy Macro to copy rows based on value

    Hello,

    I'm looking for a macro that can search mutiple tables on the same page and then paste any data with with a value greater than one to a new table. Also i would like the macro to -1 from the data thats being copied. Please see attchement for an example. I tried doing this in a filter put the filter changes all the rows in the worksheet and i need it all presented together.

    Please Help!!

    I have been trying all day to make this work
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Macro to copy rows based on value

    If you get rid of the Merge you can just use a regular formula and I don't see macro is necessary.

    =SUMIF($A$2:$A$27,E14,$B$2:$B$27)-1
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Macro to copy rows based on value

    Getting rid of the merge is no problem, thank you for the tip but is it possible to some how have the name follow over to the table as well. this way i can avoid retyping all the name every time i do the report.

+ 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