+ Reply to Thread
Results 1 to 3 of 3

Returning value from a cell

  1. #1

    Returning value from a cell

    Not sure why this happens, but if I use:


    =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))


    I get $V$12599, which is the cell I expect to see. If I add the
    indirect, below, I get 0 and not the text that is in the cell $V$12599.



    =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))


    Any suggestions?


    Thanks in advance,
    Ron


  2. #2
    Jezebel
    Guest

    Re: Returning value from a cell

    Did you leave something out in your message? The two formulas you posted are
    identical to my eyes --


    A > =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    B > =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My

    A > Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))
    B > Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))



  3. #3
    Peo Sjoblom
    Guest

    Re: Returning value from a cell

    I saw that too, I assume the OP shouldn't have included INDIRECT in his
    first formula.
    The reason it is zero is that the formula w/o INDIRECT will return
    $V$12599 thus INDIRECT will look in the same sheet and workbook that holds
    the INDIRECT formula
    not in the detailed report workbook, he needs to add the workbook name and
    sheet name in the address part
    like in

    INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22,"[detailed
    report.xls]report'"))

    regardless INDIRECT will not work on a workbook that is closed so even if he
    adds the workbook/sheet name it won't work, it will return a REF error I
    believe

    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Jezebel" <[email protected]> wrote in message
    news:[email protected]...
    > Did you leave something out in your message? The two formulas you posted
    > are identical to my eyes --
    >
    >
    > A > =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    > B > =INDIRECT(ADDRESS(MATCH($D$3,'C:\Documents and Settings\rogarl1\My
    >
    > A > Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))
    > B > Documents\[detailed report.xls]report'!$Q:$Q,FALSE)-0,22))
    >
    >



+ 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