+ Reply to Thread
Results 1 to 1 of 1

Copy paste to different tab base on multiple conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    09-08-2014
    Location
    Pittsburgh, PA
    MS-Off Ver
    MS Office 2010
    Posts
    1

    Copy paste to different tab base on multiple conditions

    Hi all,

    Been struggling with this for a while and been through several posts and cannot seem to get a solution together to accomplish what I need. Basically I have a spreadsheet database that sevral people have access to and can add data on the the Full List tab of the attached (full source file is over 15,000 rows). Monthly there are several groups that need to take action based on the entries, and I am trying to script a conditional paste of values and in some cases formulas out to the other sheets based on a few criteria for row on the Full List so that the other sheets can be handed over to other departments.

    Case 1: a row has a date entered in Column A and B, and todays date is < the date in Column N
    Action 1: Do Nothing

    Case 2: a row has a date in Colum A, but no date entered in Coulmn B
    Action 2: Copy that row values in Columns D,E,F,G,H,I,J,K,L,M,O,T,U on to the 'Add to AM' sheet and the formulas from Columns X-AA to the same destination sheet.
    There is no need to preserve any existing data (other than column headers) on the target sheet.

    Case 3: a row has a date entered in columns A, B and N, but no date entered in Column C
    Action 3: Copy that row values in Columns D,E,F,G,H,I,J,K,L,M,N,P,T,U on to the 'Remove from AM' sheet, and have the values in columns O and S added to paste to column N of the destination Sheet.
    Again, There is no need to preserve any existing data (other than column headers) on the target sheet.

    Case 4: a row has a date in Column A and B, and todays date is >= the date in Column M, and there is no date recorded in Column N
    Action 4: Requires presarvation of any items already exisiting on that sheet, or updating of existing. like the previouse cases, row values would then need to be coppied to the 'Convert to Evergreen sheet as values only for the heads matching those from the 'Full List' and paste over and case where the SN# in column E matches the incoming data.

    Feel like this should have been fairly straight forward to code but have fallen flat on my face in all cases.

    Any help would be appreciated!

    Thank You
    Attached Files Attached Files

+ 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 paste to different tab base on condition
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2014, 11:10 PM
  2. Copy&Paste Value data of daily base transactions using MACRO
    By mikoski in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2014, 09:15 PM
  3. VBA to copy and paste according to conditions
    By andrewc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2014, 09:19 AM
  4. Copy and Paste Values Base On Criteria
    By allan.90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2012, 01:56 PM
  5. Copy/Paste Rows to Other Sheets, multiple conditions
    By financeguy57 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2011, 01:39 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