#VALUE! error in cells linked to other spreadsheets

Andy Pilkington

Board Regular
Joined
Jan 23, 2014
Messages
87
Office Version
  1. 365
Platform
  1. Windows
I have created a master spreadsheet with links to four other spreadsheets which shows the correct results when all linked files are open. However, if I open the master spreadsheet alone the linked cells show #VALUE ! rather than the value.

In case this is relevant the linked cells are a "SUMIF" formula and not simply a reference to one individual cell.

The number of linked spreadsheets will increase to 12 and the reason for the links is to avoid having to open all spreadsheets at one time. Please can anyone explain how I can eliminate this issue?

Thanks in anticipation.

Andy P
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
in your master spreadsheet A1 put =[workbook2]sheet1!A1 and copy across and down
on sheet2 change to sheet2! etc etc

you now have all data in one workbook so put your formulas as helper cells on the sheets - maybe
 
Upvote 0
Right: not all functions allow for references to external files that are closed.

You might replace the SUMIF with an equivalent SUMPRODUCT.

However, that will not be as efficient, especially if you use whole-column references like A:A instead of restricted ranges like A1:A10000.

(If you replace such SUMIF formulas, it would be prudent to use reasonable restricted ranges.)

Alternatively, you might wrap your SUMIF formulas with IFERROR that returns a default value. That allows your master file to make sense, albeit not reflecting the current values of the external files.

It depends on what your intent is.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top