Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to perform this function using worksheet commands - I do not want to
use the"manuel entry" of a wizard - I need to "split" date and time (09/24/09 8:40) into two distinct cells... |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming the date/time is a true Excel date/time...
A1 = 09/24/09 8:40 B1: =INT(A1) Format as Date C1: =MOD(A1,1) Format as Time -- Biff Microsoft Excel MVP "Dr. Bill" <Dr. wrote in message ... I need to perform this function using worksheet commands - I do not want to use the"manuel entry" of a wizard - I need to "split" date and time (09/24/09 8:40) into two distinct cells... |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
T. Valko wrote:
Assuming the date/time is a true Excel date/time... A1 = 09/24/09 8:40 B1: =INT(A1) Format as Date C1: =MOD(A1,1) Format as Time And without assuming, I think you could just add "--" in front of A1 and it works for either date/time or text entries. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You don't need the double unary minus. INT and MOD will cope with the text
entries. -- David Biddulph "Glenn" wrote in message ... T. Valko wrote: Assuming the date/time is a true Excel date/time... A1 = 09/24/09 8:40 B1: =INT(A1) Format as Date C1: =MOD(A1,1) Format as Time And without assuming, I think you could just add "--" in front of A1 and it works for either date/time or text entries. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Of course, you're right. I swear I tried it and it didn't work...
David Biddulph wrote: You don't need the double unary minus. INT and MOD will cope with the text entries. -- David Biddulph "Glenn" wrote in message ... T. Valko wrote: Assuming the date/time is a true Excel date/time... A1 = 09/24/09 8:40 B1: =INT(A1) Format as Date C1: =MOD(A1,1) Format as Time And without assuming, I think you could just add "--" in front of A1 and it works for either date/time or text entries. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I assume these are properly formatted dates/times which we have in (say) A1 Format a1 as mm/dd/yyyy in b1 enter the formula =A1 Format b1 as hh:mm or if you don't want the leading zero format as h:mm Drag down as required Mike "Dr. Bill" wrote: I need to perform this function using worksheet commands - I do not want to use the"manuel entry" of a wizard - I need to "split" date and time (09/24/09 8:40) into two distinct cells... |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Just put =A1 (assuming your date/time is in A1 of course) in both cells and
then format one of the cells as Date and the other as Time. -- Rick (MVP - Excel) "Dr. Bill" <Dr. wrote in message ... I need to perform this function using worksheet commands - I do not want to use the"manuel entry" of a wizard - I need to "split" date and time (09/24/09 8:40) into two distinct cells... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Split date from date time cells dd/mm/yyyy hh:mm. New cell dd/mm/y | Excel Discussion (Misc queries) | |||
Split DATE cell into three new cells? | Excel Worksheet Functions | |||
Split Date and Time Cell | Excel Discussion (Misc queries) | |||
Split the date & time in one cell to be 2 colums. | Excel Worksheet Functions | |||
split combined Time Date cells | Excel Discussion (Misc queries) |