» Summing from Closed Workbooks
CATEGORY - Excel Summing
VERSION - All Microsoft Excel Versions
Problem: The following formula was created to sum a variable number of values in row 3 of Book1, Sheet1, starting at column A:
=SUM(OFFSET('C:\My Documents\[Book1.xls]Sheet1'!$A$3,0,0,1,A2))
However, the formula only works correctly when Book1 is open.
When Book1 is closed, the formula returns #VALUE!.
How can we modify the formula so that it works regardless of whether Workbook1 is open or not?
Solution:
Use the SUM, COLUMN, and INDIRECT functions as shown in the following Array formula:
{=SUM((COLUMN(INDIRECT("A:Z"))
Book Store:
Recommended Books:
- Microsoft Outlook Version 2002 Step by Step (With CD-ROM)
- Excel 2002 Power Programming with VBA
- F1 Get the Most out of Excel! The Ultimate Excel tip Help Guide
- The 22 Immutable Laws of Branding
- Microsoft PowerPoint Version 2002 Step by Step
- Real Estate Loopholes: Secrets of Successful Real Estate Investing
No comments have been submitted.

