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 -->
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 -->