+ Reply to Thread
Results 1 to 7 of 7

combining 'indirect' function with 'index/match"

  1. #1
    Registered User
    Join Date
    05-14-2015
    Location
    kl
    MS-Off Ver
    2010
    Posts
    19

    Wink combining 'indirect' function with 'index/match"

    Hi guys,

    i need some help here integrating 'indirect' function with 'index/match' function.
    i have an excel spreadsheet which contains several tabs, which named as (CPU 95thP, 201501, 201502, 201503, 201504 etc)

    on my main tab, as below, which im trying to type the "indirect, index/match" formula to pull the data from 201501, 201502, 201503 etc
    (pls note that the date in row 1 is in custom date format)
    [ATTACH][/ATTACH]

    while for the date sheet, the data look like this, (as below), im trying to get the data from column C

    [ATTACH][/ATTACH]

    this is the formula i have typed out so far, but it's is badly not working..lol

    Please Login or Register  to view this content.
    can someone pls help?

    spreadsheet attached
    sdfsdfsdf.xlsx
    Last edited by wongth7; 05-20-2015 at 09:46 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: combining 'indirect' function with 'index/match"

    Hello,

    the screenshots are a good start. The actual workbook would be better.

    "badly not working" is one description. Can you embellish that a bit? What does the formula return? What error code?

    Are you aware of the Formula Evaluation tool? You can use it to step through a formula and see intermediate results, so you can see which part of the formula needs attention.

    So, to get a handle on this, please post the workbook.

    cheers, teylyn

  3. #3
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: combining 'indirect' function with 'index/match"

    please attached excel sheet.
    Looks like you have not given column value for Index formula. Which will be just before last bracket.

    Regards,
    Suhas

  4. #4
    Registered User
    Join Date
    05-14-2015
    Location
    kl
    MS-Off Ver
    2010
    Posts
    19

    Re: combining 'indirect' function with 'index/match"

    Quote Originally Posted by teylyn View Post
    Hello,

    the screenshots are a good start. The actual workbook would be better.

    "badly not working" is one description. Can you embellish that a bit? What does the formula return? What error code?


    Are you aware of the Formula Evaluation tool? You can use it to step through a formula and see intermediate results, so you can see which part of the formula needs attention.


    So, to get a handle on this, please post the workbook.

    cheers, teylyn
    Hi teylyn, i attached the workbook on my first post...the error i got was #ref something like that, i'm aware of the formula evaluation tool, but still not too sure how to fix it though

  5. #5
    Registered User
    Join Date
    05-14-2015
    Location
    kl
    MS-Off Ver
    2010
    Posts
    19

    Re: combining 'indirect' function with 'index/match"

    Quote Originally Posted by [email protected] View Post
    please attached excel sheet.
    Looks like you have not given column value for Index formula. Which will be just before last bracket.

    Regards,
    Suhas
    workbook attached

  6. #6
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: combining 'indirect' function with 'index/match"

    Use this formula and make necessary changes while pasting somewhere. text formula and match function reference was wrong.

    =INDEX(INDIRECT(TEXT(B1,"yyyymm")&"!$C3:C8326"),MATCH('CPU 95thP'!$A2,INDIRECT(TEXT(B1,"yyyymm")&"!$A3:A8326"),0),1)

    Regards,
    Suhas

  7. #7
    Registered User
    Join Date
    05-14-2015
    Location
    kl
    MS-Off Ver
    2010
    Posts
    19

    Re: combining 'indirect' function with 'index/match"

    Quote Originally Posted by [email protected] View Post
    Use this formula and make necessary changes while pasting somewhere. text formula and match function reference was wrong.

    =INDEX(INDIRECT(TEXT(B1,"yyyymm")&"!$C3:C8326"),MATCH('CPU 95thP'!$A2,INDIRECT(TEXT(B1,"yyyymm")&"!$A3:A8326"),0),1)

    Regards,
    Suhas
    Thanks Suhas, it's working fine now

+ 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. Combine INDEX with INDIRECT + MATCH FUNCTION
    By LemonOrange in forum Excel General
    Replies: 20
    Last Post: 03-26-2014, 04:52 PM
  2. [SOLVED] Nested INDIRECT in INDEX/MATCH function
    By xtort81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2014, 03:08 PM
  3. Indirect with Match/Index function
    By jyothijayanna in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-18-2013, 09:39 PM
  4. [SOLVED] Indirect Function with Vlookup vs. Index/Match
    By Jayule in forum Excel General
    Replies: 4
    Last Post: 07-02-2012, 12:01 PM
  5. INDIRECT function together with INDEX MATCH
    By coasterman in forum Excel General
    Replies: 3
    Last Post: 12-09-2011, 11:06 AM

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