Linking cell data to external worksheets

Raggy

Board Regular
Joined
Jul 30, 2008
Messages
70
Office Version
  1. 2010
Platform
  1. Windows
I have a single sheet that I want to display values based on data in an external workbook.
If I have the other workbook open I can get the data to appear no problem, but if I exit the other workbook the path to the name is added and it wont dispay the data again!

The main sheet I want to collate all these other workbooks to is in the same folder as all the ones that contain the data
L:\Informatics\IT Service Desk\SD Management Team\Performance Reports\SLA Breach Stats\

I had this and worked with the separate workbook open:
Excel Formula:
=COUNTIF('[Service Desk.xlsx]Sheet1'!$A$2:'[Service Desk.xlsx]Sheet1'!$A$800,0)

but I have now this with the external sheet closed which does not work:
Excel Formula:
=COUNTIF('L:\Informatics\IT Service Desk\SD Management Team\Performance Reports\SLA Breach Stats\[Service Desk Folders.xlsx]Sheet1'!$A$2:'L:\Informatics\IT Service Desk\SD Management Team\Performance Reports\SLA Breach Stats\[Service Desk Folders.xlsx]Sheet1'!$A$800,0)

Should this work or should I be going about it in a different way, had a google but no clearer.
The objective is to have the one workbook which just collates certain data from other spreadsheets which are extracted from some different software.
1635698128281.png

This is the data in the separate sheets and I need to find out home many of each SLA type I have (which I can do) but also need to be able to say which ones are suspended or not (which I am not sure how to do). Any help appreciated to point me in the right direction.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
The Countif function does not work with closed workbooks, you would need to use sumproduct instead.
 
Upvote 0
That solves that one but now mystified by how to count the amount of say '0''s in column A so long as relevant cell in column C is True
 
Upvote 0
What is the sumproduct formula you are using?
 
Upvote 0
Tried various configuration but so far without much success, here is my latest. The data is now held on separate sheet (Service Desk) within the main workbook for the minute to make things simpler while I get my head around it.

=SUMPRODUCT(ISNUMBER(MATCH('Service Desk'!$A$2:$A$800,{"0"},0))*ISNUMBER(MATCH('Service Desk'!$C$2:$C$800,{"FALSE"},0)))
From this I get FALSE in the cell I want to display the total count of say 0's in column A so long as they are FALSE in column C....hope that makes sense!
 
Upvote 0
Try
Excel Formula:
=SUMPRODUCT(('Service Desk'!$A$2:$A$800=0)*('Service Desk'!$C$2:$C$800=FALSE))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,940
Messages
6,122,356
Members
449,080
Latest member
Armadillos

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