#Value! error on links

GazNicki

Board Regular
Joined
Nov 30, 2010
Messages
78
Hi

I have a worksheet that is looking up the values of cell A4 in an external workbook, and adding together all the instances of the search. Here is the code inside one of the cells.

Code:
=SUMIF('G:\ORDER CONTROLS\ORDER SUMMARY\2018\05 May 2018\[WE 12 MAY 2018 ORDER SUMMARY.xlsx]ORDER'!$A$5:$A$81,$A6,'G:\ORDER CONTROLS\ORDER SUMMARY\2018\05 May 2018\[WE 12 MAY 2018 ORDER SUMMARY.xlsx]ORDER'!$K$5:$K$81)

If I have the source workbook open, all is well and the sheet works fine.

If I have the source workbook closed, then I am greeted with #Value ! errors in every cell.

As you can see, I have the full source location in the equation, but something is amiss.

Can anyone please help me?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I managed to fix this.

Turns out this is a common error for SUMIF functions, however if I converted the SUM if to a SUM and and IF statement, and submitted as an array (CTRL+SHIFT+ENTER) it works.

Here is the revised code for anyone interested:

Code:
=SUM(IF('G:\ORDER CONTROLS\ORDER SUMMARY\2018\05 May 2018\[WE 12 MAY 2018 ORDER SUMMARY.xlsx]ORDER'!$A$5:$A$81=$A5,'G:\ORDER CONTROLS\ORDER SUMMARY\2018\05 May 2018\[WE 12 MAY 2018 ORDER SUMMARY.xlsx]ORDER'!$K$5:$K$81,0))
You MUST submit this formula by pressing CTRL+SHIFT+ENTER to make it work, else it will just sum everything in the last part of the formula.

 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,981
Members
449,058
Latest member
oculus

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