+ Reply to Thread
Results 1 to 5 of 5

Comparing to unsorted lists

Hybrid View

  1. #1
    Registered User
    Join Date
    02-22-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    3

    Comparing to unsorted lists

    Hi All,

    Sorry this is probably a really basic question, but i'm struggling a little.

    I have two work sheets. Both worksheets contain 2 columns. Column A is a product number; Column B is a price. Using the product name on sheet 2, i would like to compare the price of the products on sheet 2 with the price of the products on sheet 1.

    Sheet 2 may have more products on it than sheet one, so the sheets don't match row for row.

    Is there a simple way that i can identify any prices of any product on sheet 2 that doesn't match the price of the product on sheet1?

    Any help would be appreciated.

    Regards,
    Attached Files Attached Files
    Last edited by footballking; 02-22-2015 at 05:07 PM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,684

    Re: Comparing to unsorted lists

    using VLOOKUP function you can do this easily (set 4th parameter to FALSE )

    if such a tip is not enough, check here: http://www.excelforum.com/forum-rule...rum-rules.html how to attach sample file.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-22-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    3

    Re: Comparing to unsorted lists

    Hi Kaper,

    Thank you for taking time to help. I have attached a very stripped down version. Basically i want to to ensure the price for each product number between the worksheets are the same (or highlight the differences). In my example, the columns are sorted, but i need to allow for the fact that the sheets aren't identical.

    Thanks!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,857

    Re: Comparing to unsorted lists

    Put this formula in C1 of Sheet2:

    =IF(ISNA(MATCH(A1,Sheet1!A:A,0)),"not found",IF(VLOOKUP(A1,Sheet1!A:B,2,0)=B1,"same","different"))

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    02-22-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    3

    Re: Comparing to unsorted lists

    That's perfect. Thank you for you help

+ 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. Dependent lists - unsorted table
    By Itolond in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-15-2014, 03:13 AM
  2. Unsorted Lists: Obtaining the value only once even if repeated
    By muffinslave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2010, 12:01 PM
  3. Comparing and moving unsorted data in Excel
    By Kev427 in forum Excel General
    Replies: 0
    Last Post: 01-10-2006, 12:25 PM
  4. Average from 2 unsorted lists
    By KevinE in forum Excel Formulas & Functions
    Replies: 54
    Last Post: 09-06-2005, 07:05 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