#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default #value! error

I have entered the following array formula, it works fine as long as I have
the linked files open; however, if I don't then I get the #value error and
also the error message that the string is too long. How can I correct this?

=IF(A9="","",(SUMIF('[Bid Item Quantity Sheet Contract Line Item 10.xls]BID
ITEM QUANTITY SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My
Documents\My Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s
Monthly Construction Progress Report.xls]TEMPORARY
SHUTDOWNS'!11:65336,2),'[Bid Item Quantity Sheet Contract Line Item
10.xls]BID ITEM QUANTITY SHEET'!$E$7:$E$65536)-(SUMIF('[Bid Item Quantity
Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My Documents\My
Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s Monthly
Construction Progress Report.xls]TEMPORARY SHUTDOWNS'!11:65336,2),'[Bid Item
Quantity Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$K$7:$K$65536))))

--
Steve
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 207
Default #value! error

srshort62,
Have you tried identifying all you linked files as you did for " 'F:\User
Settings\My Documents\My Projects\Route 60 - B686 (Contract I)\[5 C3P
Inspector"s Monthly Construction Progress Report.xls]"
I think this will solve your problem. You have them linked, but if they are
not OPEN,
excel can't find them.
hth
"srshort62" wrote:

I have entered the following array formula, it works fine as long as I have
the linked files open; however, if I don't then I get the #value error and
also the error message that the string is too long. How can I correct this?

=IF(A9="","",(SUMIF('[Bid Item Quantity Sheet Contract Line Item 10.xls]BID
ITEM QUANTITY SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My
Documents\My Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s
Monthly Construction Progress Report.xls]TEMPORARY
SHUTDOWNS'!11:65336,2),'[Bid Item Quantity Sheet Contract Line Item
10.xls]BID ITEM QUANTITY SHEET'!$E$7:$E$65536)-(SUMIF('[Bid Item Quantity
Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My Documents\My
Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s Monthly
Construction Progress Report.xls]TEMPORARY SHUTDOWNS'!11:65336,2),'[Bid Item
Quantity Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$K$7:$K$65536))))

--
Steve

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default #value! error

There are some functions that won't work unless the sending file is open.
=sumif(), =countif(), =indirect()
are a few.

You could replace the formula with the equivalent =sumproduct()

=SUMPRODUCT(--([book1.xls]Sheet1!$A$5:$A$1000="Something"),
[book1.xls]Sheet1!F$5:F$1000)
......

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=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



srshort62 wrote:

I have entered the following array formula, it works fine as long as I have
the linked files open; however, if I don't then I get the #value error and
also the error message that the string is too long. How can I correct this?

=IF(A9="","",(SUMIF('[Bid Item Quantity Sheet Contract Line Item 10.xls]BID
ITEM QUANTITY SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My
Documents\My Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s
Monthly Construction Progress Report.xls]TEMPORARY
SHUTDOWNS'!11:65336,2),'[Bid Item Quantity Sheet Contract Line Item
10.xls]BID ITEM QUANTITY SHEET'!$E$7:$E$65536)-(SUMIF('[Bid Item Quantity
Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$C$7:$C$65536,"<"&VLOOKUP($G$3,'F:\User Settings\My Documents\My
Projects\Route 60 - B686 (Contract I)\[5 C3P Inspector''s Monthly
Construction Progress Report.xls]TEMPORARY SHUTDOWNS'!11:65336,2),'[Bid Item
Quantity Sheet Contract Line Item 10.xls]BID ITEM QUANTITY
SHEET'!$K$7:$K$65536))))

--
Steve


--

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
Error: "Excel encountered an error and had to remove some formatti Carl Excel Discussion (Misc queries) 0 September 18th 06 06:39 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
I have Error 1919 Error Configuring ODBC dataSource Database Texanna1 Excel Discussion (Misc queries) 1 September 12th 06 06:35 AM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


All times are GMT +1. The time now is 03:47 PM.

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"