+ Reply to Thread
Results 1 to 3 of 3

INDEX/MATCH Excel Question

  1. #1
    Registered User
    Join Date
    02-17-2016
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    1

    INDEX/MATCH Excel Question

    Hello all and thanks in advance for the help. I'm trying to create a formula that will find the minimum cost of a tube size, given the finished part OD and ID (OD of the tube to make a part must be greater than or equal to the part OD and the ID the opposite). I've simplified the equation I have so far for this example, but ignore the IF(LEFT) portion of the formula for now. I have two sheets, the second is named 'Tube Prices'. Below is what they look like respectively:

    Material Tube Cost Part ID Part OD
    F0001 300 4.5 5

    Material Tube ID Tube OD Price
    F0001 4.25 5 $300.00
    F0001 4.25 5 $400.00
    F0001 4.25 5 $200.00
    F0001 5 5.75 $100.00
    F0001 6 7 $350.00


    And here is the equation I'm using:

    =IFERROR(IF(LEFT(A2,1)="F",INDEX('Tube Prices'!$A$2:$D$6,MATCH(1,('Tube Prices'!$A$2:$A$6=A2)*('Tube Prices'!$B$2:$B$6<=C2)*('Tube Prices'!$C$2:$C$6>=D2),0),4),0),)

    Currently it's returning the first match, but I'd like to get it to return the cheapest price in that size (200). I need to keep the sheets set up as they currently are FYI, and I've had no luck with the min() function in that formula. Let me know any suggestions.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: INDEX/MATCH Excel Question

    Hi
    Use in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: INDEX/MATCH Excel Question

    hi and welcome to the forum

    may be in b2 use below
    copy paste below then hold control and shift together and then hit enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    array formulas are...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Last edited by hemesh; 02-17-2016 at 02:31 PM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

+ 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. index match question
    By nawGo in forum Excel General
    Replies: 4
    Last Post: 01-30-2016, 08:54 PM
  2. [SOLVED] Index Match question
    By JO505 in forum Excel General
    Replies: 3
    Last Post: 10-20-2015, 03:16 AM
  3. Index match question
    By momiieee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-24-2015, 05:54 PM
  4. Index, match, match Question!. Seems so simple but can't figure it out...
    By huikimhuikim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2013, 01:57 PM
  5. Replies: 0
    Last Post: 11-04-2011, 01:53 AM
  6. [SOLVED] Index/match question.
    By Jules in forum Excel General
    Replies: 1
    Last Post: 07-08-2006, 11:10 AM
  7. [SOLVED] Index/Match question Need help!
    By Brian H in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2005, 09:05 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