PC Review


Reply
Thread Tools Rate Thread

converting numbers to date format

 
 
GC
Guest
Posts: n/a
 
      14th Dec 2009
Hello,
I have 3 columns in a worksheet that contain a number that represents the
date and the other column has a number that represents the month and the
last is the year as a single digit. (A2=14, B2=12, C2=9) The 3 columns are
formated number with 0 decimal. I have a 4th column that is formated date.
(3/14/01). In this 4th column i have =B2 & "/" & A2 & "/" & C2. The result
is 14/12/9 and does not seem to be a date format. I suspect it is a string.
What do I have to do to convert this to date?

Cheers!


 
Reply With Quote
 
 
 
 
Stefi
Guest
Posts: n/a
 
      14th Dec 2009
On dec. 14, 13:22, "GC" <gc...@hotmail.com> wrote:
> Hello,
> I have 3 columns in a worksheet that contain a number that represents the
> date and the other column has a number that represents the month and the
> last is the year as a single digit. (A2=14, B2=12, C2=9) The 3 columns are
> formated number with 0 decimal. I have a 4th column that is formated date..
> (3/14/01). In this 4th column i have *=B2 & "/" & A2 & "/" & C2. The result
> is 14/12/9 and does not seem to be a date format. I suspect it is a string.
> What do I have to do to convert this to date?
>
> Cheers!


Try
=DATEVALUE(B2 & "/" & A2 & "/" & C2)
Regards,
Stefi
 
Reply With Quote
 
vqthomf
Guest
Posts: n/a
 
      14th Dec 2009
Use =DATEVALUE(B2 & "/" & A2 & "/" & C2)

"GC" wrote:

> Hello,
> I have 3 columns in a worksheet that contain a number that represents the
> date and the other column has a number that represents the month and the
> last is the year as a single digit. (A2=14, B2=12, C2=9) The 3 columns are
> formated number with 0 decimal. I have a 4th column that is formated date.
> (3/14/01). In this 4th column i have =B2 & "/" & A2 & "/" & C2. The result
> is 14/12/9 and does not seem to be a date format. I suspect it is a string.
> What do I have to do to convert this to date?
>
> Cheers!
>
>
> .
>

 
Reply With Quote
 
GC
Guest
Posts: n/a
 
      14th Dec 2009
Thanks Stefi, that worked. Much appreciated.
Gerry

"Stefi" <(E-Mail Removed)> wrote in message
news:e17f28a4-d75c-47f7-88e7-(E-Mail Removed)...
On dec. 14, 13:22, "GC" <gc...@hotmail.com> wrote:
> Hello,
> I have 3 columns in a worksheet that contain a number that represents the
> date and the other column has a number that represents the month and the
> last is the year as a single digit. (A2=14, B2=12, C2=9) The 3 columns are
> formated number with 0 decimal. I have a 4th column that is formated date.
> (3/14/01). In this 4th column i have =B2 & "/" & A2 & "/" & C2. The result
> is 14/12/9 and does not seem to be a date format. I suspect it is a
> string.
> What do I have to do to convert this to date?
>
> Cheers!


Try
=DATEVALUE(B2 & "/" & A2 & "/" & C2)
Regards,
Stefi


 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      14th Dec 2009
On dec. 14, 14:41, "GC" <gc...@hotmail.com> wrote:
> Thanks Stefi, that worked. Much appreciated.
> Gerry
>
> "Stefi" <csoszp...@gmail.com> wrote in message
>
> news:e17f28a4-d75c-47f7-88e7-(E-Mail Removed)...
> On dec. 14, 13:22, "GC" <gc...@hotmail.com> wrote:
>
> > Hello,
> > I have 3 columns in a worksheet that contain a number that represents the
> > date and the other column has a number that represents the month and the
> > last is the year as a single digit. (A2=14, B2=12, C2=9) The 3 columns are
> > formated number with 0 decimal. I have a 4th column that is formated date.
> > (3/14/01). In this 4th column i have =B2 & "/" & A2 & "/" & C2. The result
> > is 14/12/9 and does not seem to be a date format. I suspect it is a
> > string.
> > What do I have to do to convert this to date?

>
> > Cheers!

>
> Try
> =DATEVALUE(B2 & "/" & A2 & "/" & C2)
> Regards,
> Stefi


You are welcome! Thanks for the feedback!
Stefi
 
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
Converting complex date format to normal date format in Excel BlackNarcissus Microsoft Excel Misc 0 28th Jul 2011 04:28 PM
Converting Numbers to Date Format =?Utf-8?B?TUI=?= Microsoft Excel Worksheet Functions 2 6th Feb 2007 10:49 PM
converting general date format data into short date format savigliano Microsoft Access Form Coding 3 27th Nov 2006 04:37 AM
Converting Date Format from YYYY-MM-DD to Access date format =?Utf-8?B?YWN0aXZlZ2lybA==?= Microsoft Access 3 21st Jun 2005 11:03 PM
Converting numbers to date format from csv files =?Utf-8?B?RmlCZWU=?= Microsoft Excel Misc 1 12th Jan 2005 01:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:55 AM.