+ Reply to Thread
Results 1 to 7 of 7

How to use INDEX MATCH instead of VLOOKUP

  1. #1
    Registered User
    Join Date
    12-22-2022
    Location
    Kent, England
    MS-Off Ver
    365
    Posts
    2

    How to use INDEX MATCH instead of VLOOKUP

    Morning Everyone,

    I consider myself to be good at Excel but I've always been a VLOOKUP guy because INDEX MATCH baffles and I can't seem to get my head around it. Today, however, I feel an INDEX MATCH is the best solution and I need help.

    I am trying to create a basic calculator which looks at a few variables to determine what percentage gets applied.

    Photography STR Calc.xlsx

    In my calculator, there are 2 tabs; 1 - Data Capture, 2 - Rates

    I'm trying to put a formula in cell E14 on the Data Capture tab which shows me what rate applies based on 2 variables.
    • Variable 1 - Area Code in cell D10 on the Data Capture tab
    • Variable 2 - Drop down option in cell C14 on the Data Capture tab


    For instance, if there is an Area Code of 4 and All Equipment Worldwide is chosen, I want cell E14 to then show the result 2.530%

    Can anyone give me a solution to this?

    Once I can master it in this cell, I will carry the formula down to the rest.

    Thanks

    Photography STR Calc.xlsx
    Last edited by DanBob1109; 12-22-2022 at 07:34 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,402

    Re: How to use INDEX MATCH instead of VLOOKUP

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: How to use INDEX MATCH instead of VLOOKUP

    =XLOOKUP(D10,Rates!$C$6:$C$17,XLOOKUP(C14,Rates!$D$5:$J$5,Rates!$D$6:$J$17))

    or

    =INDEX(Rates!$D$6:$J$17,MATCH(D10,Rates!$C$6:$C$17,0),MATCH(C14,Rates!$D$5:$J$5,0))

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: How to use INDEX MATCH instead of VLOOKUP

    or this sumproduct... =SUMPRODUCT((Rates!$D$5:$J$5=C14)*(Rates!$C$6:$C$17=$D$10),Rates!$D$6:$J$17)
    format as percent.

    BTW, based on all equipment worldwide and area 3 it returns 2.332%, not 2.530%
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    12-22-2022
    Location
    Kent, England
    MS-Off Ver
    365
    Posts
    2

    Re: How to use INDEX MATCH instead of VLOOKUP

    You are a hero. Thank you very much!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,402

    Re: How to use INDEX MATCH instead of VLOOKUP

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,703

    Re: How to use INDEX MATCH instead of VLOOKUP

    Try this in E14:

    =INDEX(Rates!$D$6:$J$17,MATCH($D$10,Rates!$C$6:$C$17,0),MATCH(C14,Rates!$D$5:$J$5,0))

    If you wanted to stick with VLOOKUP, you could use this:

    =VLOOKUP($D$10,Rates!$C$6:$J$17,MATCH(C14,Rates!$C$5:$J$5,0),0)

    Hope this helps.

    Pete

+ 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. [SOLVED] index match function vs index match vba type mismatch
    By johnstylez in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-14-2022, 03:29 PM
  2. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  3. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  4. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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