LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default EOMONTH() question

Ron,

The suggestion you gave me produced the same error. To be absolutely sure
there is nothing wrong with the dates I deleted Cell A1 contents, formatted
the cell as a date (again) and entered the date "1/11/06" no quotes. Using
the formula =eomonth(a1,1) still returned a #value! error instead of what I
expected 30/12/06.

"Ron Rosenfeld" wrote:

On Sat, 11 Nov 2006 12:02:01 -0800, Mike
wrote:

i have dates in a column and in the next column im using the formula
=eomonth(a1,1) and instead of getting the last day of the next month I'm
getting a "#value!" error despite being fairly sure the formula is correct.
Any suggestions?

Mike



The VALUE error frequently indicates a problem with your *data*.

Could it be that you have imported the date from an HTML or other web source?
If so, it is probably text with a trailing <no break space character.

Try this:

=EOMONTH(SUBSTITUTE(TRIM(A1),CHAR(160),""),1)


--ron

 
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
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


All times are GMT +1. The time now is 07:50 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"