Sumif linked to different workbook

J

JLC1952

I have numerous sumif formulas in a workbook (see example below), and they
reference other workbooks. When I open the workbook with the formulas in it,
they all revert to #value! unless the linked workbook is open. This did not
happen in previous versions of excel (I use 2003). Just wondering if anyone
knows if this still happens in 2007? It can be a pain to open 8 to 10
workbooks just to get the formula to give me a correct number again. thanks.

=ROUND(SUMIF('W:\USERS\Choi\C24\JLC\Inventory\LIFO
Project\Target\FYE013104\[FYE013104Depts_by_Pool.xls]GM
Depts'!$B$8:$B$1500,$A9,'W:\USERS\Choi\C24\JLC\Inventory\LIFO
Project\Target\FYE013104\[FYE013104Depts_by_Pool.xls]GM
Depts'!$I$8:$I$1500),0)
 
T

T. Valko

SUMIF doesn't work when referencing a closed file. Use SUMPRODUCT instead.
It works on closed files.

=ROUND(SUMPRODUCT(--('W:\USERS\Choi\C24\JLC\Inventory\LIFO
Project\Target\FYE013104\[FYE013104Depts_by_Pool.xls]GM
Depts'!$B$8:$B$1500=$A9),'W:\USERS\Choi\C24\JLC\Inventory\LIFO
Project\Target\FYE013104\[FYE013104Depts_by_Pool.xls]GM
Depts'!$I$8:$I$1500),0)
 

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