Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Need to combine dates stored in seperate columns

I have data that has the month and day together in one column ex. 125
and in the other is the year 2007

How do I get the date to be 12/5/2007?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Need to combine dates stored in seperate columns

How is it supposed to know it is 12/5/2007 instead of 1/25/2007?
--
** John C **

"mrcosna" wrote:

I have data that has the month and day together in one column ex. 125
and in the other is the year 2007

How do I get the date to be 12/5/2007?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Need to combine dates stored in seperate columns

well it is stored as text and the months that are not two digit have a zero
in front

"John C" wrote:

How is it supposed to know it is 12/5/2007 instead of 1/25/2007?
--
** John C **

"mrcosna" wrote:

I have data that has the month and day together in one column ex. 125
and in the other is the year 2007

How do I get the date to be 12/5/2007?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Need to combine dates stored in seperate columns

Ok. Assume A1 has 125, and B1 has 2007
=DATE(B1,LEFT(A1,2),RIGHT(A1,LEN(A1)-2))

--
** John C **

"mrcosna" wrote:

well it is stored as text and the months that are not two digit have a zero
in front

"John C" wrote:

How is it supposed to know it is 12/5/2007 instead of 1/25/2007?
--
** John C **

"mrcosna" wrote:

I have data that has the month and day together in one column ex. 125
and in the other is the year 2007

How do I get the date to be 12/5/2007?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Need to combine dates stored in seperate columns


Thanks Alot John C
"John C" wrote:

Ok. Assume A1 has 125, and B1 has 2007
=DATE(B1,LEFT(A1,2),RIGHT(A1,LEN(A1)-2))

--
** John C **

"mrcosna" wrote:

well it is stored as text and the months that are not two digit have a zero
in front

"John C" wrote:

How is it supposed to know it is 12/5/2007 instead of 1/25/2007?
--
** John C **

"mrcosna" wrote:

I have data that has the month and day together in one column ex. 125
and in the other is the year 2007

How do I get the date to be 12/5/2007?

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
How do I convert dates stored as dates to text? diamunds Excel Discussion (Misc queries) 5 September 7th 07 05:38 PM
can i combine text from seperate cells into a sinle cell Paul Gill Excel Discussion (Misc queries) 5 May 18th 07 02:08 AM
How do I seperate a full name field out into three seperate columns? Rod Excel Worksheet Functions 3 October 31st 06 08:06 PM
seperate first 2 lines of column in seperate columns in same row Glynnhamer Excel Discussion (Misc queries) 2 October 9th 06 04:23 AM
How do I sort dates stored as 1-Jun-05 in order of day & month stuckiniraq Excel Worksheet Functions 1 July 18th 05 08:38 AM


All times are GMT +1. The time now is 08:16 AM.

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

About Us

"It's about Microsoft Excel"