Hi U can use below mentioned formula
TEXT(A1, "DD/mm/YYYY H:MM:SS AM/PM ")& B1 Regards Krupesh 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 ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---