+ Reply to Thread
Results 1 to 3 of 3

Comparing values in two columns on two sheets

  1. #1
    Registered User
    Join Date
    06-10-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Comparing values in two columns on two sheets

    I am not sure how to do this, but I'm hoping some of you Excel brainiacs can help me out.

    I have 2 Sheets in an Excel 2007 file.

    Sheet 1 is our Price Book and has two columns - "Part #" and "Part Price"
    Sheet 2 is our Sales Record and has two columns - "Part #" and "Actual Sold Price"

    I would like to add a third column to Sheet 2 - "Price Difference". I would like this column to take a Part #, find it on Sheet 1, and display the corresponding "Part Price". Ideally, this formula would calculate the difference between the Part Price and the Actual Sold Price, either in a dollar amount or a percentage.

    Can anyone help?

    Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,373

    Re: Comparing values in two columns on two sheets

    For specifics, you need to post a sample workbook.

    However, you could use VLOOKUP, LOOKUP or INDEX/MATCH to return the values from sheet 1. And you could have the calculation in the same cell or separate the two formulae for clarity.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149

    Re: Comparing values in two columns on two sheets

    Under Column 3 in Sheet2, assuming row 1 are headings and row 2 is where you data starts:

    Please Login or Register  to view this content.
    B2 are Actual Sold Prices
    A2 are Part #

    The VLOOKUP formular is saying, look up the Part # in A2 in column A in Sheet1, look in the second column within A to B (which is B) and show the Part Price.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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