+ Reply to Thread
Results 1 to 9 of 9

trying to match vendor to lowest price

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    3

    trying to match vendor to lowest price

    I have an excel spreadsheet where I have a list of vendors and a list of prices and to summarize these I have a cell that pulls in the MIN of the prices but i cannot figure out a way to pull in the vendor that matches the MIN price. Can someone help me?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: trying to match vendor to lowest price

    Welcome to the forum

    =index(vendors, match(min(price), price, 0))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-01-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: trying to match vendor to lowest price

    Quote Originally Posted by shg View Post
    Welcome to the forum

    =index(vendors, match(min(price), price, 0))
    its giving me an error...

    so it should be =index("select all vendor cells", match("min price cell", *What is this price to be?, 0))

    is that correct?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: trying to match vendor to lowest price

    I dunno, post a workbook.

  5. #5
    Registered User
    Join Date
    04-01-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: trying to match vendor to lowest price

    take a look at this
    Attached Files Attached Files

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: trying to match vendor to lowest price

    You're working uphill if you try to arrange data like that in Excel.

    In the attachment, data is arranged in database fashion. Enter an item number in A2 and see the minimum price and vendor in E2 and D2.

    Both E2 and D2 are array formulas, which means that the must be confirmed with Ctrl+Shift+Enter, not just Enter like you're used to. That's what makes the curly braces appear in the formula bar -- you can't type those in directly.

    The formulas reference dynamic named ranges that automatically extend down as far as you have entries in column A.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-13-2012
    Location
    greece
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: trying to match vendor to lowest price

    Hello,

    Can you please tell me how to get the name of the vendor automatically?

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: trying to match vendor to lowest price

    Tmilios,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  9. #9
    Forum Contributor
    Join Date
    09-11-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 2013
    Posts
    103

    Re: trying to match vendor to lowest price

    @ gmarma

    I had attached the file for your reference. There are also two simulation. Unfortunately, this formula could only show one vendor name even if there are two vendors with the same low price.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Click * to reward me...
    Thank you...

+ 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