+ Reply to Thread
Results 1 to 3 of 3

Finding lowest in column after matching data in another column

  1. #1
    Registered User
    Join Date
    05-09-2017
    Location
    ME
    MS-Off Ver
    2007
    Posts
    2

    Finding lowest in column after matching data in another column

    Hello, I've been playing around with INDEX and MATCH and MIN and I can't seem to get the formula correct. I'm messing up some logic related to "Only search Costs where Item Name Matches _______".

    Here's what I'm trying to do:

    Column 1 = Vendor Names
    Column 2 = Item Names
    Column 3 = Cost of item

    I want to match the text in a cell located outside the 3 columns mentioned above with the corresponding text in Column 2, then analyze Column 3 for the lowest cost cell but only in the same rows that the text matches from Column 2, then bring in the Vendor Name from Column 1 from the matched row.

    To make this a bit more real, imagine "Cheese" is in a column outside of the above 3 columns. And I have "Cheese" listed in multiple places in Column 2. I'm searching for the vendor with the lowest cost "Cheese".

    Perhaps not the best title. Glad to provide more info. Thanks for reading.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Finding lowest in column after matching data in another column

    Try this ...

    =INDEX(A2:A1000,MATCH(MIN(IF(B2:B1000=F2,C2:C1000)),IF(B2:B1000=F2,C2:C1000),0))

    Enter with Ctrl+Shift+Enter.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-09-2017
    Location
    ME
    MS-Off Ver
    2007
    Posts
    2

    Talking Re: Finding lowest in column after matching data in another column

    Thank you. Perfect. I really appreciate that!

+ 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. [SOLVED] transferring data from one sheet to another - finding the next blank column while matching
    By jousley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2016, 01:48 PM
  2. [SOLVED] Finding matching value in a previous column!
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2015, 05:19 AM
  3. [SOLVED] Formula for finding lowest time & date value in a column
    By RazzCrowe in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-02-2013, 04:38 PM
  4. Finding Matching Data in one Column/Adding corresponding matching string value.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 07:23 PM
  5. [SOLVED] Finding lowest x values in a filtered column
    By simon_humber in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-25-2012, 08:43 PM
  6. Replies: 3
    Last Post: 07-06-2011, 01:42 PM
  7. Finding the Lowest Values and Matching
    By artiststevens in forum Excel General
    Replies: 1
    Last Post: 05-04-2011, 11:45 PM

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