+ Reply to Thread
Results 1 to 6 of 6

Copy & Paste with multiple conditions

  1. #1
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Copy & Paste with multiple conditions

    Hi all,

    I'm trying to copy information from the main sheet to other sheets as it shown on the attachment.

    There are multiple condition it need to be met when it copying into other sheets. I'm not quite sure how to explain it clearly so I made a before and after of what I want to achieve.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Copy & Paste with multiple conditions

    Hello HXIO:

    Based on what I saw, an option is to create a number of VLOOKUP functions on your P(after) tabs, combined with IF statements for each field, and each sheet, with breakouts that will extract your style number from the SKU, pricing, etc. and allow for blanks("').

    A messy project.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Re: Copy & Paste with multiple conditions

    @PeteABC123

    Thanks for the suggestion, I know it's indeed messy I'm not sure if this would work or not cause I will generate each invoice first before I copy them from the main sheet...

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Copy & Paste with multiple conditions

    Taking inspiration from Pete's suggestion the following formulas are modeled on the P834...before sheet.
    1) For 'Style Number' column:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the cells in even numbered rows of the 'Style Number' column are preformatted.
    2) For the 'Qty' column:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3) For the 'Unit Price' column:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    03-02-2018
    Location
    england
    MS-Off Ver
    2016
    Posts
    156

    Re: Copy & Paste with multiple conditions

    @JeteMc

    Thanks for the help! The formulas work like a charm.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Copy & Paste with multiple conditions

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] Copy and Paste if conditions are met.
    By randall78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2018, 05:23 PM
  2. copy paste row if conditions are met
    By SSJAMES18 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2015, 10:48 AM
  3. Copy paste to different tab base on multiple conditions
    By rnkeller in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-09-2014, 09:41 AM
  4. 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
  5. Copy and Paste to New Tab based on Conditions
    By mattman123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-24-2014, 12:59 PM
  6. 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
  7. Copy and Paste based on conditions
    By K17TROJAN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2008, 01:15 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