Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default 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 he
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Links error when insert line/row to source workbook stell88 Excel Discussion (Misc queries) 1 May 24th 10 07:59 PM
Workbook with external links shows REF! error in 2007 not in 2003 Jeremy Excel Discussion (Misc queries) 0 March 8th 10 03:33 PM
Workbook links between 2 files. Update error Hyperion Setting up and Configuration of Excel 0 October 24th 07 12:47 PM
Updating via workbook links error PerryClisbee Excel Discussion (Misc queries) 1 August 18th 06 12:13 AM
VLookup error message while accessing range in closed workbook. Peter McNaughton Excel Programming 1 September 10th 03 06:11 AM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"