+ Reply to Thread
Results 1 to 5 of 5

Combine INDEX+MATCH functions with INDIRECT formula

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Combine INDEX+MATCH functions with INDIRECT formula

    Hi,

    I need some heads up on how to combine some formulas. Here is my formula:

    =INDEX(A5:T100,ROW(5:5),MATCH(L4,A4:T4,0))

    Arrays are in 3 separate sheets (similar layout). Cell L3 would represent sheet name. So, whatever sheet name is in L3, formula is working with that sheet.

    Thanks in advance!
    Last edited by ABSTRAKTUS; 04-12-2011 at 04:16 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Combine INDEX+MATCH functions with INDIRECT formula

    It's not clear in your example, what's on the other sheet? your lookup values? your match array? your final array? L3 doesn't appear anywhere in your formula.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Combine INDEX+MATCH functions with INDIRECT formula

    All arrays in those sheets. Formula should begin like this:

    =INDEX(INDIRECT("'"!&L3&A5:T100"),ROW(INDIRECT(..........

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

    Re: Combine INDEX+MATCH functions with INDIRECT formula

    Would it be:

    =INDEX(INDIRECT("'"&l3&"'!A5:T100"),ROW(5:5),MATCH(L4,INDIRECT("'"&L3&"'!A4:T4"),0))
    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.

  5. #5
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Combine INDEX+MATCH functions with INDIRECT formula

    Great! Thanks, I've got it working.

+ 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