Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Join text and 2 dates in A2 column in worksheet

Hi,

Can any one help me to join the following:-


Z column AA column AB column AC column
------------- ---------------- ----------------
----------------
Period: 1-Jun-07 to 29-Jun-07


I want to join the above 4 columns into A2 column like:

Period: 1-Jun-07 to 29-Jun-07

I used the below formula, but the date is appearing 39234 in numbers
and how to join 4 columns with correct date.

=Z1&", "&AA1

Pls help me in this regard

Thanks in Advance.

Shahzad
KSA

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Join text and 2 dates in A2 column in worksheet

=Text(Z1,"d-mmm-yy")&" to "&Text(AA1,"d-mmm-yy")

It is hard to tell what is in which column, but change Z1 to be the cell
with the first date and AA1 to be the cell with the second date.

--
Regards,
Tom Ogilvy


" wrote:

Hi,

Can any one help me to join the following:-


Z column AA column AB column AC column
------------- ---------------- ----------------
----------------
Period: 1-Jun-07 to 29-Jun-07


I want to join the above 4 columns into A2 column like:

Period: 1-Jun-07 to 29-Jun-07

I used the below formula, but the date is appearing 39234 in numbers
and how to join 4 columns with correct date.

=Z1&", "&AA1

Pls help me in this regard

Thanks in Advance.

Shahzad
KSA


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Join text and 2 dates in A2 column in worksheet

On Jul 7, 5:14 pm, Tom Ogilvy
wrote:
=Text(Z1,"d-mmm-yy")&" to "&Text(AA1,"d-mmm-yy")

It is hard to tell what is in which column, but change Z1 to be the cell
with the first date and AA1 to be the cell with the second date.

--
Regards,
Tom Ogilvy



" wrote:
Hi,


Can any one help me to join the following:-


Z column AA column AB column AC column
------------- ---------------- ----------------
----------------
Period: 1-Jun-07 to 29-Jun-07


I want to join the above 4 columns into A2 column like:


Period: 1-Jun-07 to 29-Jun-07


I used the below formula, but the date is appearing 39234 in numbers
and how to join 4 columns with correct date.


=Z1&", "&AA1


Pls help me in this regard


Thanks in Advance.


Shahzad
KSA- Hide quoted text -


- Show quoted text -



Hi, Tom,

Thank you very much for the solution, it is working excellent.

Thanks for promp reply.

Shahzad


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Join text and 2 dates in A2 column in worksheet

ps.

If you really wanted "Period: " at the beginning:

="Period: " & text(z1,"d-mmm-yy) & ......



Dave Peterson wrote:

=text(z1,"d-mmm-yy") & " to " & text(aa1,"d-mmm-yy") & keep going....

(or use the comma if you want)

wrote:

Hi,

Can any one help me to join the following:-

Z column AA column AB column AC column
------------- ---------------- ----------------
----------------
Period: 1-Jun-07 to 29-Jun-07

I want to join the above 4 columns into A2 column like:

Period: 1-Jun-07 to 29-Jun-07

I used the below formula, but the date is appearing 39234 in numbers
and how to join 4 columns with correct date.

=Z1&", "&AA1

Pls help me in this regard

Thanks in Advance.

Shahzad
KSA


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Join text and 2 dates in A2 column in worksheet

On Jul 7, 5:22 pm, Dave Peterson wrote:
=text(z1,"d-mmm-yy") & " to " & text(aa1,"d-mmm-yy") & keep going....

(or use the comma if you want)





wrote:

Hi,


Can any one help me to join the following:-


Z column AA column AB column AC column
------------- ---------------- ----------------
----------------
Period: 1-Jun-07 to 29-Jun-07


I want to join the above 4 columns into A2 column like:


Period: 1-Jun-07 to 29-Jun-07


I used the below formula, but the date is appearing 39234 in numbers
and how to join 4 columns with correct date.


=Z1&", "&AA1


Pls help me in this regard


Thanks in Advance.


Shahzad
KSA


--

Dave Peterson- Hide quoted text -

- Show quoted text -


Hi, Dave,

Thanks for prompt reply, the above code is now working perfectly.

Tanks again.

Shahzad

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 join 3 separate columns of dates H8Workn Excel Worksheet Functions 6 March 10th 09 07:43 PM
Text join formulas working but act as straight text when modified akkrug New Users to Excel 3 May 14th 08 02:27 PM
join text RKS Excel Discussion (Misc queries) 7 April 15th 08 03:43 AM
Worksheet version of VBA JOIN Lawrence[_3_] Excel Programming 1 August 15th 03 01:25 PM


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