ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF function not calculating from closed worksheet (https://www.excelbanter.com/excel-worksheet-functions/257914-sumif-function-not-calculating-closed-worksheet.html)

Bill

SUMIF function not calculating from closed worksheet
 
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€ť.

--
Bill

Domenic[_3_]

SUMIF function not calculating from closed worksheet
 
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\D esktop\[Book2.xlsm]Sheet1'!$B$2:$B$10)

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

--
Domenic
Microsoft MVP - Excel
www.xl-central.com, "Your Quick Reference to Excel Solutions"

"Bill" wrote in message
...
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€ť.

--
Bill




All times are GMT +1. The time now is 10:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com