+ Reply to Thread
Results 1 to 5 of 5

Help with Indirect Function

  1. #1
    Registered User
    Join Date
    05-25-2022
    Location
    Portland, Oregon
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2206 Build 16.0.15321.20000) 64-bit
    Posts
    17

    Help with Indirect Function

    Hi, I have a formula that looks like this :

    I cannot post links or images.... it is a formula, not a link or image but it will not let me post it.

    The column reference at - tier_tbl[LOLB]

    I would like to make this dynamic as this value LOLB changes and can be many other values depending on user choices. The value LOLB or any other it might be is always contained at cell G2. If I put formula =Indirect("G2") it produces LOLB as it should but I'm having trouble getting it into the index match formula and is generating errors. Does anyone know how I can correct this formula, I'm at a loss.

    Rayburn

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help with Indirect Function

    You could type the foruma here, or copy/paste just the formula and we can then look at it, but it helps if we can see it in context with some data.

    Note that if you are looking to use indirect to reference another file, that file has to be open as well, or INDIRECT will return error
    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
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-25-2022
    Location
    Portland, Oregon
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2206 Build 16.0.15321.20000) 64-bit
    Posts
    17

    Re: Help with Indirect Function

    The formula is as follows: INDEX(tier_tbl[Tier],MATCH([There is an at symbol here that i think has been preventing me from posting[Percent_Rank]],tier_tbl[LOLB],1))

    Hopefully this goes through but the column reference at tier_tbl[LOLB] is what I am trying to make dynamic so it's just not hard coded because it can 20 other columns as well based on user input.

    That input is stored in cell G2, so I thought I could just use Indirect on G2 which =Indirect("G2") does produce LOLB as intended but as I put it in the big formula, I get errors.

    Rayburn

  4. #4
    Registered User
    Join Date
    05-25-2022
    Location
    Portland, Oregon
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2206 Build 16.0.15321.20000) 64-bit
    Posts
    17

    Re: Help with Indirect Function

    It's ok I finally figured it out, the formula should be:
    IFERROR(INDEX(tier_tbl[Tier],MATCH([at symbol[Percent_Rank]],INDIRECT("tier_tbl["&$G$2&"]"),1)),"")

    This took care of it, thanks for replying though.

    Rayburn

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help with Indirect Function

    Im happy you resolved this

+ 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. Replies: 6
    Last Post: 10-29-2021, 05:52 PM
  2. [SOLVED] INDIRECT Function with multiple sheets - SUMIF, INDIRECT & MATCH
    By DJDRU in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2014, 08:42 AM
  3. Using Indirect function inside the Search function
    By skhari in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2014, 05:32 PM
  4. [SOLVED] Combining Text Function with Indirect Function
    By ninmjj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2013, 10:34 AM
  5. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  6. [SOLVED] Using ROW function inside of both an Indirect and Index function returns #VALUE
    By xandermacleod in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-11-2012, 06:22 PM
  7. MATCH function within INDIRECT function not working
    By mgerada in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 08:37 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