+ Reply to Thread
Results 1 to 2 of 2

Verify spreadsheet content

  1. #1
    Registered User
    Join Date
    03-22-2016
    Location
    Roseville, CA
    MS-Off Ver
    Escel 2013
    Posts
    1

    Question Verify spreadsheet content

    I need to compare the contents of two spreadsheets. the first is a subset of the second. Both have a product number as a unique identifyer. I need to validate that the information in the first spreadsheet matches that in the second, for the subset of products listed in the first.

    e.g.:

    first
    Product number Desired value

    Second
    Product number Value

    I need to make sure that the desired value actually got loaded and is now the value.

    any suggestions? (I'm not a programmer, so writing a macro is probably beyond my capability!)

    Thanks!
    Tess

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Verify spreadsheet content

    "spreadsheets" is too generic a term - sometimes it means a workbook (a separate file) and sometimes it means a separate sheet within a workbook.

    If you have two workbooks, insert a copy of the second workbook's worksheet into the first workbook. Now you have two worksheets within one workbook. If you already had two worksheets within one workbook, you can skip this first step.

    I have assumed that you have "Sheet 1" and "Sheet 2", Sheet 2 is the subset of data, and that the unique identifiers are in column A of each, and that the columns of both sheets are the same, and are in the same order.

    Select all the cells on Sheet 2, starting with cell A1. Then apply Conditional Formatting, choosing the formula option, and use the formula

    =VLOOKUP($A1,'Sheet 1'!$1:$10000,COLUMN(A1),FALSE)<>A1

    Of course, change the Sheet 1 part of the formula to the actual name of the first sheet. Then, select red as the fill color, and apply the CF.

    Any cells that are red were changed from the original value on Sheet 1.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. How to use my spreadsheet for the content of a webpage
    By Mark198 in forum Excel General
    Replies: 1
    Last Post: 01-26-2014, 04:18 AM
  2. [SOLVED] Verify cell content BEFORE the cell is left or before some other cell is selected
    By Tobias71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2013, 02:08 AM
  3. Multiple check for dates- how to verify a cascading date spreadsheet
    By delaneybob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2012, 06:56 AM
  4. Replies: 3
    Last Post: 06-01-2008, 04:55 PM
  5. Replies: 0
    Last Post: 08-16-2006, 09:18 PM
  6. Verify the format of the content of a textbox included in a frame
    By Edgar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 08:05 PM
  7. [SOLVED] How Can I "sign" a spreadsheet to verify I reviewed?
    By Cheri in forum Excel General
    Replies: 0
    Last Post: 08-31-2005, 04:05 PM
  8. Replies: 1
    Last Post: 05-10-2005, 08:06 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