+ Reply to Thread
Results 1 to 8 of 8

Multiple condition and index matching

  1. #1
    Registered User
    Join Date
    06-19-2016
    Location
    Manipal
    MS-Off Ver
    2013
    Posts
    22

    Question Multiple condition and index matching

    Unable to solve the problem. Have to calculate the commission for respective sales representative. Condition "year of tenure" and "sales figure".
    PFA
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Multiple condition and index matching

    Try

    D2=VLOOKUP(C2,IF(B2>3,$I$3:$J$8,$F$3:$G$9),2,TRUE)*C2
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Multiple condition and index matching

    Hello atanu021,

    Welcome to the forum

    In D2, try this formula
    Please Login or Register  to view this content.
    Drag down to D12. Is this what you wanted?
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Multiple condition and index matching

    Try

    =IF($B2<3,VLOOKUP($C2,$F$3:$G$9,2,1)*$C2,VLOOKUP($C2,$I$3:$J$9,2,1)*$C2)

  5. #5
    Registered User
    Join Date
    06-19-2016
    Location
    Manipal
    MS-Off Ver
    2013
    Posts
    22

    Re: Multiple condition and index matching

    Thanks a lot Ankur. It's working

  6. #6
    Registered User
    Join Date
    06-19-2016
    Location
    Manipal
    MS-Off Ver
    2013
    Posts
    22

    Re: Multiple condition and index matching

    Thanks a lot John. It's working

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple condition and index matching

    Quote Originally Posted by JohnTopley View Post
    Try

    =IF($B2<3,VLOOKUP($C2,$F$3:$G$9,2,1)*$C2,VLOOKUP($C2,$I$3:$J$9,2,1)*$C2)
    A few keystrokes shorter...

    =VLOOKUP($C2,IF($B2<3,$F$3:$G$9,$I$3:$J$9),2,1)*$C2
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Registered User
    Join Date
    06-19-2016
    Location
    Manipal
    MS-Off Ver
    2013
    Posts
    22

    Re: Multiple condition and index matching

    Thank u John for the solution.

+ 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. Multiple Condition Index match to find max row value
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-26-2016, 12:50 PM
  2. Matching or index multiple arrays
    By mthappy0 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-17-2014, 07:02 AM
  3. [SOLVED] Index and Vlookup question (Multiple Condition)
    By jp16 in forum Excel General
    Replies: 7
    Last Post: 09-25-2012, 12:41 AM
  4. [SOLVED] Index matching multiple columns
    By weeble33 in forum Excel General
    Replies: 2
    Last Post: 07-24-2012, 02:56 PM
  5. INDEX matching multiple criteria with multiple results
    By Montanes in forum Excel General
    Replies: 4
    Last Post: 06-21-2011, 04:38 PM
  6. [SOLVED] Multiple condition vlookup & matching
    By jilaba in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 03-03-2009, 01:09 PM
  7. index matching with multiple columns
    By hobgob123 in forum Excel General
    Replies: 6
    Last Post: 10-14-2008, 07:40 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