+ Reply to Thread
Results 1 to 3 of 3

sum() using indirect()

  1. #1
    Grymjack
    Guest

    sum() using indirect()

    Can anyone post a formula that successfully uses
    SUM(INDIRECT("concatenated cell range")) where the path isn't local to
    the sheet it is on?

    ex:

    A1 = [TestBook.xls]Sheet1!B1
    A2 = [TestBook.xls]Sheet1!B10

    =SUM(INDIRECT(A1&":"&A2))

    .....can you get that one to work??

  2. #2
    Bob Phillips
    Guest

    Re: sum() using indirect()

    Invalid syntax

    A1 = [TestBook.xls]Sheet1!B1
    A2 = B10

    =SUM(INDIRECT(A1&":"&A2))


    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Grymjack" <[email protected]> wrote in message
    news:[email protected]...
    > Can anyone post a formula that successfully uses
    > SUM(INDIRECT("concatenated cell range")) where the path isn't local to
    > the sheet it is on?
    >
    > ex:
    >
    > A1 = [TestBook.xls]Sheet1!B1
    > A2 = [TestBook.xls]Sheet1!B10
    >
    > =SUM(INDIRECT(A1&":"&A2))
    >
    > ....can you get that one to work??




  3. #3
    Grymjack
    Guest

    Re: sum() using indirect()

    Thanks Bob,
    That did it, though I'm not sure why the full path wouldn't work.



    Bob Phillips wrote:
    > Invalid syntax
    >
    > A1 = [TestBook.xls]Sheet1!B1
    > A2 = B10
    >
    > =SUM(INDIRECT(A1&":"&A2))
    >
    >
    > --
    >
    > HTH
    >
    > Bob Phillips
    >
    > (replace xxxx in the email address with gmail if mailing direct)
    >
    > "Grymjack" <[email protected]> wrote in message
    > news:[email protected]...
    >> Can anyone post a formula that successfully uses
    >> SUM(INDIRECT("concatenated cell range")) where the path isn't local to
    >> the sheet it is on?
    >>
    >> ex:
    >>
    >> A1 = [TestBook.xls]Sheet1!B1
    >> A2 = [TestBook.xls]Sheet1!B10
    >>
    >> =SUM(INDIRECT(A1&":"&A2))
    >>
    >> ....can you get that one to work??

    >
    >


+ 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