+ Reply to Thread
Results 1 to 4 of 4

Match two condition and return a value

Hybrid View

  1. #1
    Registered User
    Join Date
    06-16-2008
    Posts
    30

    Match two condition and return a value

    Hi

    I need to lookup a unit price if two condition is met in a worksheet.

    Can anyone help on this. I know this is very simple and i had done searching still cannot workout.

    If PO Number = PODG1187 and Quantity=500, the return unit price will be from sheet 2 = 0.3


    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-16-2008
    Posts
    30

    Re: Match two condition and return a value

    Hi All,

    Urgent..

    Pls help

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Match two condition and return a value

    Hello
    Try this one..
    =IF(AND(B5="PODG1187",D5=500),VLOOKUP(B5,Sheet2!B5:E10,4,FALSE),"")

    but look at again ur conditions. you have duplicates in the table.. maybe include date? or Invoice number...
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Registered User
    Join Date
    07-15-2010
    Location
    Dundalk Ireland
    MS-Off Ver
    Microsoft Office Home and Student 2007
    Posts
    3

    Re: Match two condition and return a value

    {=INDEX(Sheet2!$E$5:$E$8,MATCH($B5&$D5,Sheet2!$B$5:$B$8&Sheet2!$D$5:$D$8,0))} Ctrl + Shift + Enter and copy down

+ 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