+ Reply to Thread
Results 1 to 6 of 6

Look up 2 values an return 2 results

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    Luxembourg, Luxembourg
    MS-Off Ver
    Excel 2019
    Posts
    85

    Look up 2 values an return 2 results

    Hi,

    I need a formula to get two results depending on the search values of the Customer and the Revenue.

    The Customer is any positive value but all values which are equal to 4 or greater are treated as 4.

    The Revenue to be considered is within a range as shown in the table in column F.

    So as in my example, if Customer is 2 and the Revenue is 3005 then the returned Price is 0,7 and the Bonus is 1.

    Many thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: Look up 2 values an return 2 results

    for Price (cell B7 insert formula below)
    Please Login or Register  to view this content.
    for Bonus (cell B9 insert formula below)
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Syrkrasi; 02-17-2017 at 12:29 PM.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,646

    Re: Look up 2 values an return 2 results

    How about this, in B7:

    Please Login or Register  to view this content.
    B9:

    Please Login or Register  to view this content.
    Quang PT

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Look up 2 values an return 2 results

    Another way...

    re-arrange your table, thus

    2Matches.jpg

    and with formula in A5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and formula in A7
    =INDEX($F$3:$J$8,MATCH(B3,E3:E8,1),5)
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  5. #5
    Registered User
    Join Date
    07-01-2010
    Location
    Luxembourg, Luxembourg
    MS-Off Ver
    Excel 2019
    Posts
    85

    Re: Look up 2 values an return 2 results

    Wow cool, many thanks to everybody!

    Sorry for the late answer due to the fact that I was ill and not in office.

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Look up 2 values an return 2 results

    you are welcome
    If your problem is solved please go to Thread Tools (top of thread) and mark the thread as "solved". thanks

+ 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. Lookup 2 values and return results based on these
    By Philly500 in forum Excel General
    Replies: 4
    Last Post: 08-26-2015, 07:02 AM
  2. Replies: 8
    Last Post: 06-13-2015, 05:00 PM
  3. [SOLVED] VBA return formula results as values in Range
    By thegun616 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2015, 10:02 AM
  4. Replies: 3
    Last Post: 06-25-2014, 02:40 PM
  5. Replies: 7
    Last Post: 08-22-2013, 07:06 PM
  6. Looking up values using MATCH, then return 1 of 3 different results
    By Wedge120 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2010, 09:30 AM
  7. lookup 2 values and return multiple results
    By humboldtguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2010, 09:49 PM

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