+ Reply to Thread
Results 1 to 3 of 3

Return the lowest price and supplier

  1. #1
    Registered User
    Join Date
    10-13-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    2

    Return the lowest price and supplier

    Hi!
    I'm a newbie to "advanced" excell formulas and I need som help with a small problem. I am working with two worksheets, one containing a list of items (sheet1) and one containing prices on items from different suppliers (sheet2). I am trying to get excell to return the lowest price and supplisers name from sheet2 for the spesific item to sheet1. Can anyone help?

    Attached pictures will give you a hint on what I am trying to do.
    Attached Images Attached Images
    Last edited by Xhelp; 10-25-2011 at 04:11 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Return the lowest price and supplier

    Try:
    =MIN(IF(Sheet2!$B$3:$B$10=B3,Sheet2!$C$3:$C$10))

    adjust ranges to suit and confirm with CTRL+SHIFT+ENTER and copy down.

    And:

    =INDEX(Sheet2!$A$3:$A$10,MATCH(1,INDEX((Sheet2!$B$3:$B$10=B3)*(Sheet2!$C$3:$C$10=C3),0),0))

    adjust ranges to suit and confirm with just ENTER and copy down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-13-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Return the lowest price and supplier

    Had to do some minor tweakings but worked perfectly, thank you

    =MIN(IF(Sheet2!$B$3:$B$10=A3;Sheet2!$C$3:$C$10))

    &

    =INDEX(Sheet2!$A$3:$A$10;MATCH(1;INDEX((Sheet2!$B$3:$B$10=A3)*(Sheet2!$C$3:$C$10=C3);;0);0)
    Last edited by Xhelp; 10-25-2011 at 04:12 AM.

+ 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