Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Is there a way to concatenate date and time?

If there is a date in one column and a time in another is there a way to make
the third column DateTime based on a conatenation of the other two columns?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Is there a way to concatenate date and time?

On Tue, 19 Sep 2006 09:16:02 -0700, chazparks
wrote:

If there is a date in one column and a time in another is there a way to make
the third column DateTime based on a conatenation of the other two columns?



=A1+B1

Format to taste
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Is there a way to concatenate date and time?

When I try this I get #VALUE! instead of a datatime.

A1 = 04/03/78
B1 = 12:00pm

"Ron Rosenfeld" wrote:

On Tue, 19 Sep 2006 09:16:02 -0700, chazparks
wrote:

If there is a date in one column and a time in another is there a way to make
the third column DateTime based on a conatenation of the other two columns?



=A1+B1

Format to taste
--ron

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Is there a way to concatenate date and time?

I would guess that your time is not a *true* XL time.

If you really need the PM and/or AM, you *must* leave a space between the
numbers and letters when making your entry.

Type
12:00 p
OR
12:00 a

And you'll get an XL recognized value.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"chazparks" wrote in message
...
When I try this I get #VALUE! instead of a datatime.

A1 = 04/03/78
B1 = 12:00pm

"Ron Rosenfeld" wrote:

On Tue, 19 Sep 2006 09:16:02 -0700, chazparks
wrote:

If there is a date in one column and a time in another is there a way to
make
the third column DateTime based on a conatenation of the other two
columns?



=A1+B1

Format to taste
--ron


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Is there a way to concatenate date and time?

On Tue, 19 Sep 2006 14:01:02 -0700, chazparks
wrote:

When I try this I get #VALUE! instead of a datatime.

A1 = 04/03/78
B1 = 12:00pm


You are entering the values incorrectly.

1. No <equal sign
2. There must be a space before the "pm"

A1: 04/03/78
B1: 12:00 P (or 12:00 pm)


--ron


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Is there a way to concatenate date and time?

If you have the Date in A1 and the Time in B1 and you want the DateTime to be
in C1. Put the following formula in C1.
=A1+B1

"chazparks" wrote:

If there is a date in one column and a time in another is there a way to make
the third column DateTime based on a conatenation of the other two columns?

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
Combine Date & Time Cells KrunoG Excel Discussion (Misc queries) 0 January 31st 06 08:08 PM
How to calculate Date & Time differences robs Excel Worksheet Functions 2 October 4th 05 04:22 PM
Using VLOOKUP with a Date and Time Charles Excel Discussion (Misc queries) 4 September 20th 05 06:38 PM
How do I calculate if a date is in a certain time frame? Pe66les Excel Worksheet Functions 19 August 27th 05 11:07 PM
Imported Date & Time format with calcs. managed in excel from imrp Todd F. Excel Worksheet Functions 0 July 8th 05 09:03 PM


All times are GMT +1. The time now is 12:18 PM.

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"