Archive of Mr Excel Message Board
I have a DCOUNTA criteria set up and I have just changed one date to 01/01/2002 from 01/01/2001. Now I have this error message. I have not changed any other values and names.
January Date Date VSU_No Client Field : Client
01/01/02>=1/1/02#NAME? Count : 0
1st Date field is
=">="&TEXT(DATE(YEAR(AP20),MONTH(AP20),1),"d/m/yy")
2nd Date field is
="<="&TEXT(EOMONTH(AP20,0),"d/m/yy")
It is the 2nd date field that keeps bringing up the Name error.
Any idea what the problem is????
Thanks in advance
Tee

It could be EOMONTH that leads to the #NAME? error. You need to install Analysis Toolpak via the option Tools|Add-ins.
Aladin

Re: Excel Name Problem
Kevin Rabenaldt 11/20/00 10:59 a.m.
Over the weekend the solution was found by my brother. My formulas contain named cells and also sometimes has a function called EOMONTH. EOMONTH is part of the "Analysis Toolpak". This can be added by going to Tool, then to Add-ins. Check the box for Analysis ToolPak and Analysis ToolPak VBA. Once that was done the spreadsheet worked correctly. The the common reason for ?name# is name that is not defined. I thought it was a named cell but in reality, Excel did not recognize EOMONTH because Analysis ToolPak was not installed.
Thanks, and I hope this helps someone in the future.
Kevin


Aladin I found this solution and it works - thanks to Kevin.
