+ Reply to Thread
Results 1 to 2 of 2

Value error on closed workbook links

  1. #1
    Stuart
    Guest

    Value error on closed workbook links

    I have a formula that links using SUMIF to other workbooks.

    When I close the target workbook the formula returns The Value Error

    I have tried entering this as an array also and it doesn't work - any ideas?

    =SUMIF('S:\Finance\CFM\Actuals\Month\2006\1 January
    2006\[FAL_Variance_Det_by_AC_v_BUD 170206.XLS]Output 1
    (0303)'!$1:$65536,"Total Expenses",'S:\Finance\CFM\Actuals\Month\2006\1
    January 2006\[FAL_Variance_Det_by_AC_v_BUD 170206.XLS]Output 1 (0303)'!$B:$B)

  2. #2
    Dave Peterson
    Guest

    Re: Value error on closed workbook links

    =sumif() doesn't work with closed workbooks.

    You could write it as =sum(if(...))
    (and enter as an array formula)

    But you can't use the whole column.

    And I'm confused about what range you're checking with: $1:$65536

    =sumproduct() can work with closed workbooks, too:

    =sumproduct(--(thatlongstring...!$a$1:$a$9999="total expenses"),
    (thatlongstring...!$b$1:$b$9999))

    Adjust the ranges to match--but you can't use whole columns.

    =sumproduct() likes to work with numbers. The -- stuff changes trues and falses
    to 1's and 0's.

    Bob Phillips explains =sumproduct() in much more detail here:
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    And J.E. McGimpsey has some notes at:
    http://mcgimpsey.com/excel/formulae/doubleneg.html

    Stuart wrote:
    >
    > I have a formula that links using SUMIF to other workbooks.
    >
    > When I close the target workbook the formula returns The Value Error
    >
    > I have tried entering this as an array also and it doesn't work - any ideas?
    >
    > =SUMIF('S:\Finance\CFM\Actuals\Month\2006\1 January
    > 2006\[FAL_Variance_Det_by_AC_v_BUD 170206.XLS]Output 1
    > (0303)'!$1:$65536,"Total Expenses",'S:\Finance\CFM\Actuals\Month\2006\1
    > January 2006\[FAL_Variance_Det_by_AC_v_BUD 170206.XLS]Output 1 (0303)'!$B:$B)


    --

    Dave Peterson

+ 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