+ Reply to Thread
Results 1 to 2 of 2

Return a Value in a Table based upon certain criteria

  1. #1
    Registered User
    Join Date
    03-05-2011
    Location
    Savannah, GA
    MS-Off Ver
    Excel 2003 (work), 2010 (home)
    Posts
    44

    Question Return a Value in a Table based upon certain criteria

    In cell B5, I want to return a value based on a Production value in cell B4 using a table located in A7:B28.


    Basically, I am looking for a formula to return the value of column A8:A28, in cell B5 that corresponds the closest to B4 from column B8:B28, without going above the next value in the chart... but if the number is greater than 60 it will always return 5 or if the number is less than 31.4 it will always return 0.

    In the example attached the result I am looking for is 0.75 based upon a Production Value of 35 in cell b4. If I put a value of 31.75 in B4, I would expect a return of 0.25 in cell B5.


    So basically if
    Greaterthan.JPG

    Please see attached worksheet

    Thanks in advance for your help!
    Staci
    Attached Files Attached Files
    Last edited by Staci; 03-27-2014 at 08:05 PM.

  2. #2
    Registered User
    Join Date
    03-05-2011
    Location
    Savannah, GA
    MS-Off Ver
    Excel 2003 (work), 2010 (home)
    Posts
    44

    Re: Return a Value in a Table based upon certain criteria

    I figured it out...index match using 1, instead of 0...
    =IF(ISERROR(IF(B4<=B8,"0",INDEX($A$8:$A$28,MATCH(B4,B8:B28,1)))),"",IF(B4<=B8,"0",INDEX($A$8:$A$28,MATCH(B4,B8:B28,1))))

+ 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. Replies: 3
    Last Post: 12-11-2013, 04:59 PM
  2. [SOLVED] Formula to Return Bottom 3 Values From a Table Based on a Criteria
    By JungleJme in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-15-2012, 06:57 AM
  3. Replies: 6
    Last Post: 05-21-2012, 11:51 PM
  4. Return values from table based on 2 criteria
    By BCjohnstone in forum Excel General
    Replies: 1
    Last Post: 08-30-2006, 09:37 PM
  5. Replies: 3
    Last Post: 03-15-2006, 10:35 AM

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