When I try to use the countif function between workbooks, that is the countif function in one workbook is counting data in another workbook, I get a VALUE# error unless both workbooks are open. Is there any way around this?
Thanks,
Jnix
In general formulae will not update unless both workbooks are open. Once entered and calculated, the next time you open the workbook with the formulae, you will be asked if you want to update links. If the other wb is not open, choose No. This should preserve your numbers until you open the other wb and the formulae can update....
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
Here is an example, it's using the daverage function but the principle is the same for dcount
'***********************
If your data is in cells A1:C15
Name Sales Date
Smith 10 1/11/2004
Jones 20 1/12/2004
Miller 5 1/13/2004
Johnson 2 1/14/2004
Smith 5 1/15/2004
Jones 8 1/11/2004
Smith 20 1/12/2004
Johnson 12 1/13/2004
Smith 15 1/14/2004
Smith 6 1/15/2004
Miller 22 1/11/2004
Johnson 11 1/13/2004
Smith 9 1/15/2004
Jones 3 1/17/2004
then in cells(A18:C19)...type this, note: (this criteria definition can be typed any where), I just selected a18:c19
...here is where you can change the search criteria on the fly.
Name Sales Date
Smith >1/13/04
then to average the sales of Smith that occured after 1/13/04, the formula in a cell of your choice
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.