SUMIF function not calculating from closed worksheet

B

Bill

We recently upgraded from Microsoft Office 2000 to 2007. Prior to the upgrade
each department would access a spreadsheet that would load data from a
common lookup spreadsheet
The loading process was performed as follows:
The lookup file and each department file would be opened to update the link
for that month and then saved and closed. When the department head would
open the department file, a question would appear asking if they wanted to
update the link, if they answered no the spreadsheet would open and display
the calculated data. If they answered yes, the file would only show values
and accounting would have to relink and save.
Since the upgrade to Office 2007 the departments cannot see the data unless
the lookup file is also opened at the same time on the same computer – they
do not get the question regarding updating the link.
The formula being used is a “Sum IF†formula that calculates the data
displayed in the department spreadsheet based on information in the lookup
spreadsheet.– because of the way the files are setup we cannot use a “V
Lookupâ€.
 
D

Domenic

Unfortunately, SUMIF doesn't work with closed workbooks. However,
SUMPRODUCT can be used instead. Something like this...

=SUMPRODUCT(--('C:\Users\Domenic\Desktop\[Book2.xlsm]Sheet1'!$A$2:$A$10="Criteria"),'C:\Users\Domenic\Desktop\[Book2.xlsm]Sheet1'!$B$2:$B$10)

Note that if the "Criteria" is a numerical value, remove the quotes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top