Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
Dear kind and wise people,
Can someone please help me. I cannot figure out what's wrong with my formatting. I have searched this terrific board for an answer, but can't find exactly the solution, and now time has run out, so I'm asking directly. Have a column A1 with dates spelled out as follows: Wed Mar 04 2009 15:01:59 EST. I am trying to convert this into B1 in the format : 04-Mar-2009. ATTEMPT #1 -- Here is what I have tried in Column B: =MID(A1,5,11) And I have chosen the Date format for Column B to be 04-Mar-2009 But no matter how I format Column B, it displays as Mar 04 2009 ATTEMPT #2 -- I have typed in Column B =DATEVALUE(MID(F27,5,11)) The cell now displays the error #VALUE! The columns are NOT protected. I have Excel 2007, working in a .xls document in compatibility mode. Can someone please tell me what's wrong? Many, many thanks, -Lynne |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
Try: =(MID(A1,5,6)&", "&MID(A1,12,4))+0 -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111086 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
Beautiful! Thank you so much!
"NBVC" wrote: Try: =(MID(A1,5,6)&", "&MID(A1,12,4))+0 -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111086 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
QUESTION ON THIS, IF YOU PLEASE --
(don't know if anyone will see this, but here goes . . .) I always try to learn from the answers, but this has me stumped. Why +0 is needed at the end? Thank you once again. -Lynne "NBVC" wrote: Try: =(MID(A1,5,6)&", "&MID(A1,12,4))+0 -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111086 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
It coerces a text string, which is gotten from the MID() function, to a number.. so that you can format as a date....(since Excel sees dates as numbers.. i.e. serial numbers). -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111086 |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ye Olde Date Formate Probleme - PLEASE HELP
Thanks again. Really helpful!
"NBVC" wrote: It coerces a text string, which is gotten from the MID() function, to a number.. so that you can format as a date....(since Excel sees dates as numbers.. i.e. serial numbers). -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111086 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Number formate | Excel Discussion (Misc queries) | |||
Date Probleme | Excel Discussion (Misc queries) | |||
What do I have to do to get access to my olde files? | Excel Discussion (Misc queries) | |||
How do I formate cells in excell to show inputed date as 09/13/ | Excel Worksheet Functions | |||
No Auto date formate | Excel Discussion (Misc queries) |