+ Reply to Thread
Results 1 to 8 of 8

Using Index Vs Vlookup

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Using Index Vs Vlookup

    Hi, I am trying to retrieve data from a separate table by matching certain criteria in Excel 2010. I have used Vlookup but without success and now trying to use Index/Match but not completely getting the results. Please see attachment as it shows a better explanation and what the results should be.. Hope it makes sense ......thanks
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Using Index Vs Vlookup

    d2
    Please Login or Register  to view this content.
    try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Using Index Vs Vlookup

    or
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Using Index Vs Vlookup

    or use INDEX(MATCH(IF...))

    =INDEX(H$2:I$10,MATCH(A2,IF(B2=H$2:H$10,G$2:G$10),0),2)
    Array formula, use Ctrl-Shift-Enter
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

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

    Re: Using Index Vs Vlookup

    Or

    try

    D2=OFFSET($G$1,MATCH(A2&B2,INDEX($G$1:$G$10&$H$1:$H$10,),0)-1,2,,)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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)

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,906

    Re: Using Index Vs Vlookup

    Or, another option: Array Formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    committed with Ctrl-Shift-Enter rather than just Enter.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Using Index Vs Vlookup

    Thanks to nflsales, Special-K, Shukla-Ankur281190 and TMS, All formulas work perfectly....Now I will go and practice them within my spreadsheet. Thanks once again.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,906

    Re: Using Index Vs Vlookup

    You're welcome.

    Just for reference, see the attached updated sample workbook. It has all the five formula for comparison.

    Regards, TMS
    Attached Files Attached Files

+ 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. Vlookup & index
    By BelshazzarSP in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-30-2014, 09:53 PM
  2. [SOLVED] Vlookup or Index?
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2014, 05:17 AM
  3. [SOLVED] Vlookup or index?
    By mido609 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-09-2013, 03:35 AM
  4. Vlookup, index??
    By busterbr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2013, 03:52 PM
  5. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  6. VLookup, IF, Index help please.
    By aopsahl7 in forum Excel General
    Replies: 1
    Last Post: 10-11-2011, 03:47 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