+ Reply to Thread
Results 1 to 4 of 4

Match Formula to Check if Cell Value is Within a Numeric Range Table

Hybrid View

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    35

    Match Formula to Check if Cell Value is Within a Numeric Range Table

    OK, I am trying to create a formula to check what quantity break a cell value falls in. I originally tried using the Min and Max function to match the Low and High value of the break, but I could not get it to work. Now I am using the index and match function. For some reason the match function is returning the wrong row. I want it to return the row that the quantity is less than the high value. For some reason my results are not consistent. What am I doing wrong. File attached. Thanks for your help, feel like I was SO close on this one.
    Attached Files Attached Files

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

    Re: Match Formula to Check if Cell Value is Within a Numeric Range Table

    Try:

    =LOOKUP(B6,$F$7:$H$30)
    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
    09-23-2010
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Match Formula to Check if Cell Value is Within a Numeric Range Table

    Wow that works...but how? I didn't think just referencing the cell, then the table array would do that. I was going to try that originally, it just didn't seem to do what I wanted. Either way, totally awesome, thanks again! I will mark this as solved.

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

    Re: Match Formula to Check if Cell Value is Within a Numeric Range Table

    if looks for the last entry that is less than or equal to the lookup value, B6 in the first column of array F7:H30 and returns the corresponding value from last column in F7:H30.

+ 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