+ Reply to Thread
Results 1 to 5 of 5

Compare two Criterial from two sheets then Return Result

  1. #1
    Registered User
    Join Date
    05-22-2010
    Location
    Detroit
    MS-Off Ver
    Excel 2003
    Posts
    3

    Compare two Criterial from two sheets then Return Result

    I am working with a large data file. I essentially have two worksheets, 2017 Actual numbers and 2017 Budget Figures. I need to match the "Name" and "Material #" from the 2017 Actual Number sheet with the "Name" and "Material #" from the 2017 budget numbers and return the 2017 Budget price. I have tried Index and Match but cannot get it to work. Any help?

    The actual files have ~5,500 line items.

    2017 Actual Sheet
    2017 Actual.JPG

    2017 Budget Sheet
    2017 Budget.JPG
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Compare two Criterial from two sheets then Return Result

    you could try this...
    =LOOKUP(2,1/('2017 Budget'!$A$2:$A$5='2017 Actual'!A2)/('2017 Budget'!$B$2:$B$5='2017 Actual'!B2),'2017 Budget'!$C$2:$C$5)
    Last edited by Sam Capricci; 09-05-2018 at 08:48 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: Compare two Criterial from two sheets then Return Result

    you could also try below

    in E3: =INDEX('2017 Budget'!C:C,MATCH('2017 Actual'!A2,'2017 Budget'!A:A,0))

    or

    =VLOOKUP(A2,'2017 Budget'!A:D,3,0)

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Compare two Criterial from two sheets then Return Result

    OR, this works too:

    In E2, drag down.
    HTML Code: 
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Compare two Criterial from two sheets then Return Result

    If your mat# unique then try also
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

+ 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 two colums and return a result from a third
    By excelnewbie1234567 in forum Excel General
    Replies: 2
    Last Post: 03-10-2017, 06:10 PM
  2. Help / advice on how to compare data and return result
    By Darkprophecy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-03-2015, 05:41 AM
  3. Need to compare values in 2 Columns & return result for what was found
    By pblobe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2015, 12:57 PM
  4. Compare 2 Cells, Return result which is NOT 0
    By louisnhs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2013, 05:41 AM
  5. VBA to compare data from two sheets and return value from column based on result.
    By twanbiz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2013, 11:33 AM
  6. Compare characters of two cells and return the result
    By shahid6634 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2012, 08:43 AM
  7. Compare Values in Multiple Columns and return a result
    By edbhome in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-18-2009, 09:37 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