Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default #value! message in Sumif Formula

I am trying to link to another excel file using a sumif formula and get a
#value! if both files are not open. I have tried the Control Shift Enter and
changing the formula but am still not getting it. The formula is
=SUMIF([ACPS.xls]Monthly!$D$1:$R$1000,$D6,[ACPS.xls]Monthly!K:K). Any
suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default #value! message in Sumif Formula

=sumif() is one of the functions that doesn't work when the sending file is
closed.

=sumproduct(--([ACPS.xls]Monthly!$D$1:$R$1000=$D6),[ACPS.xls]Monthly!K1:K1000)

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

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

Another is to use an array formula:
=SUM(IF([ACPS.xls]Monthly!$D$1:$R$1000=$D6,[ACPS.xls]Monthly!K1:K100))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

You still can't use the whole column until xl2007.


RobertBMc wrote:

I am trying to link to another excel file using a sumif formula and get a
#value! if both files are not open. I have tried the Control Shift Enter and
changing the formula but am still not getting it. The formula is
=SUMIF([ACPS.xls]Monthly!$D$1:$R$1000,$D6,[ACPS.xls]Monthly!K:K). Any
suggestions?


--

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
Can I have error message when formula is over value? dvozar Excel Worksheet Functions 2 June 19th 06 04:43 PM
Error message #NAME from formula JDub Excel Discussion (Misc queries) 4 April 6th 06 09:31 PM
Error message #NAME from formula JDub Excel Worksheet Functions 1 April 6th 06 08:35 PM
Formula Error Message Chambersteacher Excel Discussion (Misc queries) 1 March 9th 05 04:14 AM
How do I hide a formula message? PHM Excel Worksheet Functions 1 October 27th 04 09:44 PM


All times are GMT +1. The time now is 01:00 PM.

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

About Us

"It's about Microsoft Excel"