Countif function on worksheets on different directory

hotdogg1986

New Member
Joined
Mar 16, 2009
Messages
2
Hi,

I'm trying to use a countif function to compare data input dates, something to count the frequency of data inputted that month. The two excel files are located on different directory on a network drive.

I tried to use a function like this...
=COUNTIF('[test.xls]sheet1'!$A$14:$A$400,">="&C44)-COUNTIF('[test.xls]sheet1'!$A$14:$A$400,">="&C45)
where C44 and C55 are the dates, somethign like 01-Mar-09 to 31-Mar-09

so if there are values in test.xls sheet1 say,

28-Feb-09 xxx
01-Mar-09 xxx
15-Mar-09 xxx
20-Mar-09 xxx

I'll get a value of 3.


The problem is, this only works when the test.xls sheet is opened. Once I update the other sheet with the autoupdate prompt, they all becomes #value!. This also happens if I close the test.xls and then refresh the function. Anybody got a way around this problem?

Thanks for the help.
FC <!-- / message --><!-- BEGIN TEMPLATE: ad_showthread_firstpost_sig --><!-- END TEMPLATE: ad_showthread_firstpost_sig -->
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
you could convert the formulas to static values if that will work for you.

Select the column or row (or even just a cell or group of cells).
Right click choose copy
Right click again, choose Paste-Special. On next screen, select "values" click ok.
 
Upvote 0
you could convert the formulas to static values if that will work for you.

Select the column or row (or even just a cell or group of cells).
Right click choose copy
Right click again, choose Paste-Special. On next screen, select "values" click ok.

I kind of need the values to be updated... because I'm linking several sheets together and using a summary sheet to keep track of the data inputed in the other sheets. Thanks for the reply tho
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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