Hi Raghu,

Little modification in your formula and it works:-


=CONCATENATE(MONTH(A1),"/",DAY(A1),"/",YEAR(A1),"
",HOUR(A1),":",MINUTE(A1),":",SECOND(A1),":",IF(A1="AM","AM","PM")," ",(B1))

File is attached as well for your quick reference.

Thanks & Regards,
-- 
DILIP KUMAR PANDEY
  MBA-HR,B COM(Hons.),BCA
Mobile: +91 9810929744
dilipan...@gmail.com
dilipan...@yahoo.com
New Delhi - 110062


On Tue, May 12, 2009 at 1:27 PM, <jamadagnira...@gmail.com> wrote:

>
> Hello,
>
> I have a problem in displaying AM or PM, when i try to concatenate to
> cells. Below is the reference -
>
> Column A                   Column B       Column C
>
> 4/16/2009 9:00 AM      CDT              4/16/2009 9:00 CDT
>
> You see, after i concatenate Column A and Column B, in Column C, i get
> the above value. If you notice, i am not getting "AM" text in Column
> C. Below is the formula i used -
>
> =CONCATENATE(MONTH(A1),"/",DAY(A1),"/",YEAR(A1)," ",HOUR(A1),":",MINUTE
> (A1),SECOND(A1)," ",(B1))
>
> Please can anyone give me the formula to concatenate, so that i get AM
> or PM accordingly in Column C. Please help.
>
>
> Regards,
> Raghu J.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-------------------------------------------------------------------------------------
-~----------~----~----~----~------~----~------~--~---

Attachment: raghu.xls
Description: MS-Excel spreadsheet

Reply via email to