A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formatting Text to Numbers for Dates



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 09:27 PM posted to microsoft.public.excel.misc
Tommy
external usenet poster
 
Posts: 149
Default Formatting Text to Numbers for Dates

I'm currently working with a column of dates. Some of the dates are text and
some are numbers. The dates are in the following format 21/06/210
(mm/dd/yyyy). I used =isnumber() to verify cells. Half of the coulmn
resulted in false values.

I'm unable to format the dates to other formats, since some are text. Is
there anyway to change the column so that all dates are numbers vs. text,
thus allowing me to format them to other date formats???
  #2  
Old May 27th, 2010, 10:45 PM posted to microsoft.public.excel.misc
Tommy
external usenet poster
 
Posts: 149
Default Formatting Text to Numbers for Dates

Huber-

Thank you. One additional question-what if the date is 21/6/2010? How can
I change the formula you provided to use "/" "/" characters as dividers?

Thanks,

Tommy

"Huber57" wrote:

Tommy,

I assume the date you meant was 21/06/2010 and that the format is dd/mm/yyyy.

If so, use this formula to turn it into a date:

=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))

This should return a number. Then format the cell as a date.

HTH.

"Tommy" wrote:

I'm currently working with a column of dates. Some of the dates are text and
some are numbers. The dates are in the following format 21/06/210
(mm/dd/yyyy). I used =isnumber() to verify cells. Half of the coulmn
resulted in false values.

I'm unable to format the dates to other formats, since some are text. Is
there anyway to change the column so that all dates are numbers vs. text,
thus allowing me to format them to other date formats???

  #3  
Old May 27th, 2010, 10:52 PM posted to microsoft.public.excel.misc
Tommy
external usenet poster
 
Posts: 149
Default Formatting Text to Numbers for Dates

Huber-

any suggestions if the date is 21/6/2010 or 6/12/2013 (day/month/year)?

"Huber57" wrote:

Tommy,

I assume the date you meant was 21/06/2010 and that the format is dd/mm/yyyy.

If so, use this formula to turn it into a date:

=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))

This should return a number. Then format the cell as a date.

HTH.

"Tommy" wrote:

I'm currently working with a column of dates. Some of the dates are text and
some are numbers. The dates are in the following format 21/06/210
(mm/dd/yyyy). I used =isnumber() to verify cells. Half of the coulmn
resulted in false values.

I'm unable to format the dates to other formats, since some are text. Is
there anyway to change the column so that all dates are numbers vs. text,
thus allowing me to format them to other date formats???

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.