+ Reply to Thread
Results 1 to 5 of 5

Automatically Copy and paste rows that have a column that has a $0 balance.

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Thumbs up Automatically Copy and paste rows that have a column that has a $0 balance.

    Hello everyone,

    I am new to the website and much of a beginner to Excel. I am working on trying to simplify a roughed up process and this log is a big start to that.
    I am keeping track of collections accounts. what i am trying to do is copy and paste any rows(A:D) that have a Zero balance under the I column in Payment Plans("Sheet1") into Resolved Cases("Sheet2") specifically into (A:D).
    I am really hoping to have this information automatically populate over once it meets that criteria, but I am also open to just using an ActiveX button with VBA if needed.

    I am truly open to any thoughts and comments.

    Thank you so much,

    Lahti

    A B C D
    DAI# Name Debt Type Starting Bal
    08E4200 bob barker BROKERS ($330.04)

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,852

    Re: Automatically Copy and paste rows that have a column that has a $0 balance.

    Try this:

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Automatically Copy and paste rows that have a column that has a $0 balance.

    Try this array formula. Since this is an array formula so you need to confirm it with Ctrl + Shift + Enter instead of just Enter. (i.e. hold the Ctrl + Shift and then press Enter)

    On Sheet Resolved Cases
    In cell A2
    Please Login or Register  to view this content.
    and drag across to col. D and down as far as needed.

    The above formula takes care of 5000 rows of data entered on Payment Plans sheet. If you have more data you can increase the range in the formula.

    Find the attached sheet to see if this is what you are trying to achieve.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    04-23-2014
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Automatically Copy and paste rows that have a column that has a $0 balance.

    Thanks Alan,

    That worked perfectly, I did run into a snag because I did not think about it. I was able to move around one column I previously had forgotten to save. The only thing I need is that it doesnt repeat previous cases already moved over since it is coming from a continuous payment log. Is there a way that can be done?

    Thank you so much again, you have already gotten me much farther than I was this morning.

    Lahti
    Last edited by Lahtidahti; 04-23-2014 at 03:15 PM.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,852

    Re: Automatically Copy and paste rows that have a column that has a $0 balance.

    the only way I can envision what you ask is to change the copy command to cut. That would remove it from the first sheet, however. Perhaps, someone else will chime in with a better solution.

    Alan

+ 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. [SOLVED] Macro to automatically copy and paste rows to different Sheet
    By prabhu2 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-17-2013, 08:35 PM
  2. How to copy and paste into multiple rows within SAME column
    By kksf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2013, 06:10 PM
  3. Automatically copy and paste rows based on cell value
    By no.18shirt in forum Excel General
    Replies: 3
    Last Post: 06-15-2013, 12:14 AM
  4. Copy Column Data and Paste Into Rows
    By moongate in forum Excel General
    Replies: 3
    Last Post: 12-11-2008, 07:51 PM
  5. how do I automatically hide or suppress zero balance rows
    By zhehol in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-13-2006, 10:45 PM

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