+ Reply to Thread
Results 1 to 1 of 1

Compare 2 worksheets and create new Updated worksheet showing quantity change

  1. #1
    Registered User
    Join Date
    05-12-2015
    Location
    AU
    MS-Off Ver
    2010
    Posts
    58

    Compare 2 worksheets and create new Updated worksheet showing quantity change

    Hi ALL,

    I need some help to create a macro to compare quantities of 2 worksheets and then create a new worksheet showing quantity change. See attached sample excel file and work step when I done this exercise manually. The macro will help reduce time spent and possible error in manual manipulation.

    I have only limited knowledge in creating VBA/macro. I appreciate if someone can help me on this Application.

    dashboard.jpg

    MY WORK FLOW BELOW:

    Workbook names information:
    • Previous Design QTYs (worksheet name - Initial_MTO)
    • New Design QTYs (worksheet name – 2nd_MTO), this will only contain values on column F(Current Design QTY)
    • Output Current QTYs (worksheet name – Top-Up 1_MTO)
    • Columns I(Current Order) & K(Delta) have formula
    • Colum E(PartNo) is the Primary key

    STEP 1:
    • Copy Initial_MTO worksheet and name it as Top-Up 1_MTO. Note all item number will stay the same and no sorting for traceability for each Top-Up stages.
    • Copy values on column I(Current Order) and paste value on column G(Previous Order)
    • Delete all values on column F(Current Design QTY)
    • Retain values on column H(Contingency) & column J(Surplus)
    • Leave the calculated values on column K(Delta)

    STEP 2:
    • Copy all data from 2nd_MTO worksheet and append to the end entry of Top-Up 1_MTO worksheet

    STEP 3:
    • Do advance combined row using column E(PartNo) as the “PRIMARY KEY”, columns F(Current Design QTY) & column G(Previous Order) as “CALCULATE(SUM)”
    • Highlight new items that are not included on worksheet Initial_MTO)
    • Adjust numbering on column A(Item No.) for new added items.
    • Current Order = Current Design QTY + Contingency – Surplus (QTY)
    • Delta = Current Order – Previous Order
    • Columns H(Contingency) & I(Surplus QTY) will be blank, input manually at a later stage.

    Thank you in advance.
    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. Compare Quantity by Unique ID in two worksheets/Workbook
    By rummaan17 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-03-2021, 09:38 PM
  2. Compare two worksheets and then generate a third worksheet showing their differences
    By wazimu13 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-04-2013, 06:37 AM
  3. Compare 2 Inventory Worksheets, Then Create Changes Worksheet
    By Dex in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-28-2012, 11:43 AM
  4. Compare Old Worksheet With Updated Version
    By Cortlyn in forum Excel General
    Replies: 3
    Last Post: 03-22-2012, 12:07 PM
  5. Replies: 1
    Last Post: 09-19-2010, 01:32 AM
  6. I need to compare two worksheets and create a new worksheet
    By Rajeev Ganesh in forum Excel General
    Replies: 0
    Last Post: 08-02-2006, 09:20 PM
  7. [SOLVED] How do I compare 2 worksheets, 1 old, 1 updated to find difference
    By alienstew in forum Excel General
    Replies: 1
    Last Post: 01-31-2005, 10:06 AM

Tags for this Thread

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