+ Reply to Thread
Results 1 to 4 of 4

SUMIF with INDIRECT.EXT returning #VALUE error

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010 32bit on Windows XP
    Posts
    4

    SUMIF with INDIRECT.EXT returning #VALUE error

    I'm trying to use indirect.ext to sum up data from a closed workbook.

    When the workbook referenced by formula is open, it works perfectly which leads me to think that there is no issue with the formula.

    When the workbook is closed, the formula returns a #VALUE error.

    The formula parses to:

    SUMIF({"Title";"JAN";"JAN"},"JAN",{"Quantity";1;1})

    before returning a #VALUE error when I would expect 2 (1+1)

    Running Excel 2010 on Windows XP 32-bit; all files are 2010 format. Any help is appreciated.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: SUMIF with INDIRECT.EXT returning #VALUE error

    I reckon indirect.ext probably returns an array when the workbook is closed and sumif will not work with an array as the first argument only with a range
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIF with INDIRECT.EXT returning #VALUE error

    SUMIF doesn't work with closed workbooks, try using SUMPRODUCT, e.g.

    =SUMPRODUCT((Range1="Jan")+0,Range2)
    Audere est facere

  4. #4
    Registered User
    Join Date
    01-14-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010 32bit on Windows XP
    Posts
    4

    Re: SUMIF with INDIRECT.EXT returning #VALUE error

    Makes sense. Thanks for the quick reponse.

+ 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