Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
David
 
Posts: n/a
Default Every time I try to use EOMonth I get #Name?

I am building a spreadsheet that requires it to automatically generate the
last day of the month (for any month). I found the EOMonth function and every
time I use it all it returns is the "#NAME?" error message. I even tried hard
coding the function (=EOMonth("01/01/2006",0)), which should return
"01/31/2006" but just returns the error message "#NAME?".

Does anyone know how to get this to work?
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

EOMONTH is part of the Analysis Toolpak add-in, which you need to
activate by means of Tools|Add-Ins.

Othwerwise, invoke the equivalent:

=DATE(YEAR(A1),MONTH(A1)+1,0)

David wrote:
I am building a spreadsheet that requires it to automatically generate the
last day of the month (for any month). I found the EOMonth function and every
time I use it all it returns is the "#NAME?" error message. I even tried hard
coding the function (=EOMonth("01/01/2006",0)), which should return
"01/31/2006" but just returns the error message "#NAME?".

Does anyone know how to get this to work?

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 30 Sep 2005 15:01:02 -0700, "David"
wrote:

I am building a spreadsheet that requires it to automatically generate the
last day of the month (for any month). I found the EOMonth function and every
time I use it all it returns is the "#NAME?" error message. I even tried hard
coding the function (=EOMonth("01/01/2006",0)), which should return
"01/31/2006" but just returns the error message "#NAME?".

Does anyone know how to get this to work?


Copied from HELP for EOMONTH function:

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.

--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time and motion chart deant Charts and Charting in Excel 0 September 21st 05 08:22 AM
Excel Time Manipulation BFiedler Excel Discussion (Misc queries) 0 September 15th 05 01:15 AM
conditional formatting with time values Access Idiot Excel Discussion (Misc queries) 2 September 13th 05 03:29 PM
Time Sheets smiller3128 New Users to Excel 1 August 4th 05 08:17 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM


All times are GMT +1. The time now is 04:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"