PC Review


Reply
Thread Tools Rate Thread

DateValue Giving everything but

 
 
Dave
Guest
Posts: n/a
 
      15th May 2006
Trying to get a DateValue from numerous dates. I've tried about every
format I can think of for the date field. When I do the fx for DateValue, I
get the function argument box, and when I select the date field (let's use
05/17/06), the Date_text line shows "=38854", but the 'Formula result ='
line at the bottom is blank When I click OK, the value appears as #VALUE.
But No DateValue.

I'm obviously missing something. Any suggestions would be appreciated.

MS Office/Excel 2003 SP2

Dave


 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      15th May 2006
=DateValue() converts text that looks like a date to a date.

It sounds like that field that contains 05/17/06 is already a date. If you just
use:

=A1
(if A1 contained 05/17/06)

Then you should see a date--you may need to format that cell with the kind of
date you want, though.

Dave wrote:
>
> Trying to get a DateValue from numerous dates. I've tried about every
> format I can think of for the date field. When I do the fx for DateValue, I
> get the function argument box, and when I select the date field (let's use
> 05/17/06), the Date_text line shows "=38854", but the 'Formula result ='
> line at the bottom is blank When I click OK, the value appears as #VALUE.
> But No DateValue.
>
> I'm obviously missing something. Any suggestions would be appreciated.
>
> MS Office/Excel 2003 SP2
>
> Dave


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?UGVvIFNqb2Jsb20=?=
Guest
Posts: n/a
 
      15th May 2006
DATEVALUE only work on text dates, not 05/17/06! The whole point is to convert
text strings into dates like if you would have January in A1, 5 in A2 and
2006 in A3

=DATEVALUE(A1&" "&A2&", "&A3)

however the DATEVALUE function is totally obsolete, you can get the same
result with

=--(A1&" "&A2&", "&A3)



or

=0+(A1&" "&A2&", "&A3)

regards,

Peo Sjoblom


"Dave" wrote:

> Trying to get a DateValue from numerous dates. I've tried about every
> format I can think of for the date field. When I do the fx for DateValue, I
> get the function argument box, and when I select the date field (let's use
> 05/17/06), the Date_text line shows "=38854", but the 'Formula result ='
> line at the bottom is blank When I click OK, the value appears as #VALUE.
> But No DateValue.
>
> I'm obviously missing something. Any suggestions would be appreciated.
>
> MS Office/Excel 2003 SP2
>
> Dave
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datevalue Jay Kay Microsoft Access VBA Modules 7 9th Mar 2008 07:52 AM
Something other than DATEVALUE edwardpestian Microsoft Excel Worksheet Functions 5 9th Aug 2006 04:59 AM
DATEVALUE Dana Microsoft Excel Worksheet Functions 2 16th Apr 2004 11:06 PM
LAN and Internet in XP Pro_Modem giving 651 error+NIC giving out [no valid address] new2_XP Windows XP General 9 20th Mar 2004 03:37 PM
LAN and Internet in XP Pro_Modem giving 651 error+NIC giving out [no valid address] new2_XP Windows XP Customization 1 17th Mar 2004 10:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 AM.