+ Reply to Thread
Results 1 to 3 of 3

Indirect function with external sumif

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    7

    Indirect function with external sumif

    Hi All
    I am struggling with making a formula work as all it does is return a #VALUE when I do not have the external workfile it is referencing open.
    I am using the INDIRECT.EXT function but it does not seem to help and I can only assume I have the syntax wrong.

    The formula is:-

    =SUMIF(INDIRECT.EXT("'D:\["&G3&".xlsx]Sheet1'!$b$2:$b$10"),"a",INDIRECT.EXT("'D:\["&G3&".xlsx]Sheet1'!$C$2:$C$10"))

    Where G3 has the external file name I wish to reference.
    B2:B10 is a column of letters A through to D
    C2:C10 is a column of numbers.

    The SUMIF simply adds up the total for a specific letter appearing int he list.
    Any help would be appreciated.

    Thank you

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Indirect function with external sumif

    its the sumif that doesn't work on closed workbooks
    http://support.microsoft.com/kb/260415
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Indirect function with external sumif

    Ok, thanks for the quick response.

+ 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