+ Reply to Thread
Results 1 to 3 of 3

Need help with Indirect

  1. #1
    Registered User
    Join Date
    03-10-2004
    Posts
    55

    Need help with Indirect

    I have a formula derived from concatenation as follows:

    =CONCATENATE("OFFSET([master1.xls]x1!A1,",B2,",7)")

    which gives me the result:

    OFFSET([master1.xls]x1!A1,2,7)

    I am trying to use INDIRECT to return the value in the cell given by this formula by using:

    =INDIRECT(CONCATENATE("OFFSET([master1.xls]x1!A1,",B2,",7)"))


    However, when do this, I get a #REF! error.

    I'm puzzled because the direct formula itself is:

    OFFSET([master1.xls]x1!A1,2,7)

    which works fine and appears identical to my concatenated result (unless I'm missing something).

    I'm pretty sure this worked for me before. Does anyone know where I'm going wrong?

    Any help would be much appreciated.

  2. #2
    Bob Phillips
    Guest

    Re: Need help with Indirect

    Is it not just

    OFFSET([master1.xls]x1!A1,B2,7)


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Peter Bernadyne"
    <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a formula derived from concatenation as follows:
    >
    > =CONCATENATE("OFFSET([master1.xls]x1!A1,",B2,",7)")
    >
    > which gives me the result:
    >
    > OFFSET([master1.xls]x1!A1,2,7)
    >
    > I am trying to use INDIRECT to return the value in the cell given by
    > this formula by using:
    >
    > =INDIRECT(CONCATENATE("OFFSET([master1.xls]x1!A1,",B2,",7)"))
    >
    >
    > However, when do this, I get a #REF! error.
    >
    > I'm puzzled because the direct formula itself is:
    >
    > OFFSET([master1.xls]x1!A1,2,7)
    >
    > which works fine and appears identical to my concatenated result
    > (unless I'm missing something).
    >
    > I'm pretty sure this worked for me before. Does anyone know where I'm
    > going wrong?
    >
    > Any help would be much appreciated.
    >
    >
    > --
    > Peter Bernadyne
    > ------------------------------------------------------------------------
    > Peter Bernadyne's Profile:

    http://www.excelforum.com/member.php...fo&userid=7017
    > View this thread: http://www.excelforum.com/showthread...hreadid=392201
    >




  3. #3
    Registered User
    Join Date
    03-10-2004
    Posts
    55
    This is what happens when you try to overthink things.

    Thanks!!

+ 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