+ Reply to Thread
Results 1 to 4 of 4

using indirect in a formula

  1. #1
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    using indirect in a formula

    Hi everyone, I have the following formula in sheet "form"

    =VLOOKUP(C6,op0607q1!$A$2:$BC$24851,$C$2,FALSE)

    But want to change the reference 'op0607q1' to a =indirect function that will take whatever reference is in cell a1 of the sheet form and use the indirect formulae to lookup the sheet with the same name.

    Thanks for anyones help.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by tinkerbelle
    Hi everyone, I have the following formula in sheet "form"

    =VLOOKUP(C6,op0607q1!$A$2:$BC$24851,$C$2,FALSE)

    But want to change the reference 'op0607q1' to a =indirect function that will take whatever reference is in cell a1 of the sheet form and use the indirect formulae to lookup the sheet with the same name.

    Thanks for anyones help.
    Hi,

    something like

    =VLOOKUP(C6,INDIRECT(A1&"!$A$2:$BC$24851"),$C$2,FALSE)

    should work.

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201
    Thanks Bryan, that works perfectly!

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by tinkerbelle
    Thanks Bryan, that works perfectly!
    good to see, and thanks for the feedback

    ---

+ 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