+ Reply to Thread
Results 1 to 4 of 4

Vlookup query for different sheet involving: INDIRECT, SUBSTITUTE, ADDRESS

  1. #1
    Registered User
    Join Date
    09-29-2020
    Location
    gatwick
    MS-Off Ver
    10
    Posts
    2

    Vlookup query for different sheet involving: INDIRECT, SUBSTITUTE, ADDRESS

    Hi all,

    I'm trying to create formula that will lookup a range of cells in a different sheet. The table array need to be from 2 columns, however I need the table array to be dynamic so that I can fill in other cells. I've arrange the table arrays next to each other on a seperate sheet called 'Fund Prices' the first array is in columns B:C. The next array is in E:F, then H:I and so on.

    I've also created a reference in column A of my active sheet to help with the lookup. So far in cell C6 on my active sheet I have the following:

    =IFERROR(VLOOKUP($F$4,INDIRECT("'Fund Prices'!" & SUBSTITUTE(ADDRESS(A6,A6+1+(2*(A6-1)),4),A6," ") & ":" & SUBSTITUTE(ADDRESS(A6,A6+2+(2*A6-1)),4),A6," ")),2,FALSE),0)

    The value in cell A6 is "1". So Evaluating, it should be something like:

    =IFERROR(VLOOKUP($F$4,'Fund Prices'!B:C,2,FALSE,0)

    However when I evaluate the formula I get to:

    =IFERROR(VLOOKUP(44099,INDIRECT("'Fund Prices'!B:C "),2,FALSE),0)

    One evaluation step further gives

    =IFERROR(VLOOKUP(44099,#REF!,2,FALSE),0)

    I may be going about this the wrong way or I may be misunderstanding the INDIRECT function but any help would be appreciated.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Vlookup query for different sheet involving: INDIRECT, SUBSTITUTE, ADDRESS

    Hello,
    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Registered User
    Join Date
    09-29-2020
    Location
    gatwick
    MS-Off Ver
    10
    Posts
    2

    Re: Vlookup query for different sheet involving: INDIRECT, SUBSTITUTE, ADDRESS

    Hi thank you.

    Hopefully I've attached this correctly. I've highlighted the cell on the 'Background calc' tab. The below cells are what they should actually reference so when we fill down they should remain the same.

    Thank you again
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Vlookup query for different sheet involving: INDIRECT, SUBSTITUTE, ADDRESS

    Hi

    You should lose the space where I marked red, just replace it with ""

    =IFERROR(VLOOKUP($F$4,INDIRECT("'Fund Prices'!" & SUBSTITUTE(ADDRESS(A6,A6+1+(2*(A6-1)),4),A6," ")&":" & SUBSTITUTE(ADDRESS(A6,A6+2+(2*(A6-1)),4),A6," ")),2,FALSE),0)

+ 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] Indirect "Substitute(Substitute(" not working for multiple spaces
    By Ochimus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2018, 04:01 PM
  2. Replies: 10
    Last Post: 02-20-2018, 10:02 AM
  3. [SOLVED] VLOOKUP with INDIRECT and SUBSTITUTE
    By RichardJSigKits in forum Excel General
    Replies: 11
    Last Post: 08-19-2016, 06:36 AM
  4. Substitute for INDIRECT(ADDRESS)?
    By maddito in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-20-2015, 08:18 PM
  5. Replies: 4
    Last Post: 10-28-2014, 11:04 PM
  6. [SOLVED] Using ADDRESS and INDIRECT to get other sheet values
    By stamke in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2012, 08:07 PM
  7. Vlookup/Indirect Address Question
    By deriv3 in forum Excel General
    Replies: 2
    Last Post: 06-17-2005, 06:05 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