Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default day and time concatenate

I have days stored in a column, and dates associated to them in other. Whe I
try to concatenate them in a single cell, the numbers are converted and I get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without success
Any suggestion?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default day and time concatenate

=TEXT(A1,"yyyy-mm-dd")&" "&TEXT(B1,"hh:mm")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"P Boric" wrote in message
...
I have days stored in a column, and dates associated to them in other. Whe
I
try to concatenate them in a single cell, the numbers are converted and I
get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without
success
Any suggestion?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default day and time concatenate

thanks, it works fine

"Bob Phillips" wrote:

=TEXT(A1,"yyyy-mm-dd")&" "&TEXT(B1,"hh:mm")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"P Boric" wrote in message
...
I have days stored in a column, and dates associated to them in other. Whe
I
try to concatenate them in a single cell, the numbers are converted and I
get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without
success
Any suggestion?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default day and time concatenate

If Bob's worked ok, then this should, too:

=text(a1+b1, "yyyy-mm-dd hh:mm:ss")

P Boric wrote:

I have days stored in a column, and dates associated to them in other. Whe I
try to concatenate them in a single cell, the numbers are converted and I get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without success
Any suggestion?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default day and time concatenate

Custom format the cell as yyyy-mm-dd hh:mm (or adjust to suit).
But in my book, 19322 is 1952-11-24 00:00, not 2007-02-15 00:00. The latter
would be 39128.
--
David Biddulph

"P Boric" wrote in message
...
I have days stored in a column, and dates associated to them in other. Whe
I
try to concatenate them in a single cell, the numbers are converted and I
get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without
success
Any suggestion?





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default day and time concatenate

I can't make this work. This is my formula and I want E22 to be date
formatted:
=CONCATENATE(G22," ",C22," ",D22," ",E22)
Can you modify it for me?

"P Boric" wrote:

I have days stored in a column, and dates associated to them in other. Whe I
try to concatenate them in a single cell, the numbers are converted and I get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without success
Any suggestion?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default day and time concatenate

=CONCATENATE(G22," ",C22," ",D22," ",E22)

What is in each of those cells?

--
Biff
Microsoft Excel MVP


"Warren Jo" wrote in message
...
I can't make this work. This is my formula and I want E22 to be date
formatted:
=CONCATENATE(G22," ",C22," ",D22," ",E22)
Can you modify it for me?

"P Boric" wrote:

I have days stored in a column, and dates associated to them in other.
Whe I
try to concatenate them in a single cell, the numbers are converted and I
get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without
success
Any suggestion?



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default day and time concatenate

You probably want something like this:
=CONCATENATE(G22," ",C22," ",D22," ",Text(E22,"yyyy-mm-dd"))

Regards,
Fred

"Warren Jo" wrote in message
...
I can't make this work. This is my formula and I want E22 to be date
formatted:
=CONCATENATE(G22," ",C22," ",D22," ",E22)
Can you modify it for me?

"P Boric" wrote:

I have days stored in a column, and dates associated to them in other.
Whe I
try to concatenate them in a single cell, the numbers are converted and I
get
something like this:

day time concatenate
2007- 02-15 0.00 19322

I've tried formatting in different ways the cells involved, without
success
Any suggestion?


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
Is there a way to concatenate date and time? chazparks Excel Discussion (Misc queries) 5 September 20th 06 01:14 AM
Concatenate/Time Functions brianwakin Excel Worksheet Functions 2 September 1st 05 07:25 PM
How to Join/concatenate a date field with a time field in Excel? Alan Excel Discussion (Misc queries) 4 August 9th 05 10:07 PM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM
How to Concatenate Time with some operator? changeable Excel Worksheet Functions 1 November 3rd 04 01:01 PM


All times are GMT +1. The time now is 01:27 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"