+ Reply to Thread
Results 1 to 5 of 5

Return Single Value Based on Multiple Criteria

  1. #1
    Registered User
    Join Date
    06-15-2010
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    2

    Return Single Value Based on Multiple Criteria

    Hi. I've been searching lots of forums all morning and cannot find a solution to my problem.

    I'm trying to have a formula check a single number against multiple criteria and return a single solution.

    Here is the data:
    Check if this number "61108" is between the numbers in columns A and B, and then return the % in column C:

    - 50,000 15%
    50,001 75,000 25%
    75,001 100,000 34%
    100,001 335,000 39%
    335,001 10,000,000 34%
    10,000,001 15,000,000 35%
    15,000,001 18,333,333 38%
    18,333,334 35%

    I hope this makes sense.
    Last edited by NBVC; 06-15-2010 at 01:46 PM.

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

    Re: Return Single Value Based on Multiple Criteria

    If your table is in A1 to C8 and you want to check for a value in D1, then try:

    =LOOKUP(D1,A1:C8)
    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
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Return Single Value Based on Multiple Criteria

    A lookup table only needs the START of each range of values, the start of the next range implicitly shows the end of the previous range. Understand?

    So, a lookup table would be:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    06-15-2010
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Return Single Value Based on Multiple Criteria

    Thank you!! Such a simple solution and I just couldn't find it anywhere.

    I appreciate your help.

  5. #5
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Return Single Value Based on Multiple Criteria

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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