+ Reply to Thread
Results 1 to 2 of 2

verify 2 sheet value and return different value to result sheet.

  1. #1
    Registered User
    Join Date
    08-12-2018
    Location
    Taiwan
    MS-Off Ver
    MS 16
    Posts
    17

    verify 2 sheet value and return different value to result sheet.

    hi all, have any idea using VBA for verify two sheet data if it is differect will copy and paste the value to result sheet in TYPE column base on the different value such as Part number,ID ,category or quantity.moreover,attached excel document is a outcome example.



    Thanks and regards,
    Kinder.
    Attached Files Attached Files
    Last edited by [kinder]; 08-12-2018 at 02:08 PM.

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

    Re: verify 2 sheet value and return different value to result sheet.

    This formula based proposal employs numerous helper columns which may be moved and/or hidden for aesthetic purposes.
    Note that there are no differences between the records for ID's 1006, 1008 and 1009 so I can't help you there.
    1) Columns G:J on the original sheet identify the first difference in ID, Part No, Category and Quantity for an ID between the original and sub sheets using formulas like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2) Column G on the Sub sheet identifies New Data using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3) The range A10:E15 on the Compare Result sheet is populated using:
    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.

+ 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] Two conditions return a result from another sheet
    By Dumy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2016, 07:34 AM
  2. Replies: 1
    Last Post: 11-16-2015, 03:36 PM
  3. Search text with wildcards in a table and return result as list in other sheet
    By nedned in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2015, 03:08 PM
  4. Copy data in a loop from one sheet to another and return result
    By Big_Kev in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2014, 04:50 PM
  5. [SOLVED] Locating a cell in sheet 2, based on 2 variables in sheet 1. Result into sheet 1.
    By Gezza24 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 11-05-2013, 12:50 AM
  6. Search database using userform return result in another sheet
    By ankuagarwal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2013, 04:19 AM
  7. verify and Format cell on sheet based on data from another sheet
    By Lisa4legin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-24-2012, 08:02 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