Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
When I copy a date format from outlook it copies into excel as such: "Fri
25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Daniel
FormatCellsNumberCustom DD/MM/YYYY Regards Roger Govier DanielJW wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Roger,
I've tried this before but it does not show the date in DD/MM/YYYY format. I think it's because the day i.e. "Fri" and time "09:00" is shown in the original. I need excel to ignore the day and date and just display DD/MM/YYYY. How do I get around this? "Roger Govier" wrote: Hi Daniel FormatCellsNumberCustom DD/MM/YYYY Regards Roger Govier DanielJW wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Daniel
Maybe =INT(A1) where A1 holds the date you want to strip the time off. Regards Roger Govier DanielJW wrote: Thanks Roger, I've tried this before but it does not show the date in DD/MM/YYYY format. I think it's because the day i.e. "Fri" and time "09:00" is shown in the original. I need excel to ignore the day and date and just display DD/MM/YYYY. How do I get around this? "Roger Govier" wrote: Hi Daniel FormatCellsNumberCustom DD/MM/YYYY Regards Roger Govier DanielJW wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No the INT doesn't work either.
I think that there is no way around it. Thanks for looking anyway. Daniel. "Roger Govier" wrote: Hi Daniel Maybe =INT(A1) where A1 holds the date you want to strip the time off. Regards Roger Govier DanielJW wrote: Thanks Roger, I've tried this before but it does not show the date in DD/MM/YYYY format. I think it's because the day i.e. "Fri" and time "09:00" is shown in the original. I need excel to ignore the day and date and just display DD/MM/YYYY. How do I get around this? "Roger Govier" wrote: Hi Daniel FormatCellsNumberCustom DD/MM/YYYY Regards Roger Govier DanielJW wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Fri, 25 Nov 2005 01:49:04 -0800, "DanielJW"
wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? I am assuming your regional settings (Windows/Control Panel/Regional Settings) use the DMY format. If not, another solution is available. 1. In an adjacent column, use the formula: =--(MID(A1,5,10)) and format as dd/mm/yyyy 2. (And this will work with any regional setting: a. Select your column of cells with the dates b. Data/Text To Columns Delimited NEXT Delimiters SPACE Treat Consecutive delimiters as one SELECT NEXT Select columns 1 & 3 and select "Do Not import column (skip)" Select column 2 Date DMY FINISH You may need to also custom format the result appropriately. --ron |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Ron,
My Regional setting have been correct all along. Option 1 worked for me. Another question if you don't mind: How do I put dd-MMM-yyyy into a dd/mm/yyyy format? For example: 29-NOV-2005 to 29/11/2005. Thanks. "Ron Rosenfeld" wrote: On Fri, 25 Nov 2005 01:49:04 -0800, "DanielJW" wrote: When I copy a date format from outlook it copies into excel as such: "Fri 25/11/2005 09:00" How can I get excel to recognise this as a date field and reformat into "DD/MM/YYY"? I am assuming your regional settings (Windows/Control Panel/Regional Settings) use the DMY format. If not, another solution is available. 1. In an adjacent column, use the formula: =--(MID(A1,5,10)) and format as dd/mm/yyyy 2. (And this will work with any regional setting: a. Select your column of cells with the dates b. Data/Text To Columns Delimited NEXT Delimiters SPACE Treat Consecutive delimiters as one SELECT NEXT Select columns 1 & 3 and select "Do Not import column (skip)" Select column 2 Date DMY FINISH You may need to also custom format the result appropriately. --ron |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Tue, 29 Nov 2005 05:30:06 -0800, "DanielJW"
wrote: Thanks Ron, My Regional setting have been correct all along. Option 1 worked for me. Another question if you don't mind: How do I put dd-MMM-yyyy into a dd/mm/yyyy format? For example: 29-NOV-2005 to 29/11/2005. Thanks. I'm glad that worked. As an aside, I would not refer to regional settings as correct or incorrect. Rather, for solution 1 to work, they have to be the same as the format used in the text string you are converting. Just semantics, I suppose. Once you have the date in your cell, from the top menu bar select: Format/Cells/Number/Custom Type: dd/mm/yyyy If there is no change, then the "date" in your cell is TEXT rather than an Excel date value. Excel date values are serial numbers that start with 1 for 1/1/1900 (or 0 for 1/1/1904 if using the 1904 date system). --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change general format to US date format | Excel Discussion (Misc queries) | |||
Customized Date Format | Excel Worksheet Functions | |||
Compare dates (one cell not in date format) | Excel Discussion (Misc queries) | |||
How do I keep the date from changing format in a mail merge? | Excel Discussion (Misc queries) | |||
USING THE DATE FORMAT IN EXCEL | Excel Discussion (Misc queries) |