Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, Can I divide a column that is displaying date time in column c to date in
d and time in e.... I imported the data from access column c has : 04/04/2004 08:04am and I want d to display 04/04/2004 and e to display 08:04am thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
D1: =INT(C1) and format as date E1: =MOD(C1,1) or =C1-INT(C1) and format as time -- Regards Frank Kabel Frankfurt, Germany "jenn" schrieb im Newsbeitrag ... Hi, Can I divide a column that is displaying date time in column c to date in d and time in e.... I imported the data from access column c has : 04/04/2004 08:04am and I want d to display 04/04/2004 and e to display 08:04am thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
D1: =INT(C1) E1: =MOD(C1,1) format D1 as a date, E1 as a time. In article , "jenn" wrote: Hi, Can I divide a column that is displaying date time in column c to date in d and time in e.... I imported the data from access column c has : 04/04/2004 08:04am and I want d to display 04/04/2004 and e to display 08:04am thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you imported it from access is text? Assuming so, try
D1: =--(LEFT(C1,FIND(" ",C1)-1)) E1: =--MID(SUBSTITUTE(SUBSTITUTE(C1,"pm"," PM"),"am"," AM"),FIND(" ",C1)+1,99) don 't forget to format the cells -- HTH RP (remove nothere from the email address if mailing direct) "jenn" wrote in message ... Hi, Can I divide a column that is displaying date time in column c to date in d and time in e.... I imported the data from access column c has : 04/04/2004 08:04am and I want d to display 04/04/2004 and e to display 08:04am thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() THANK YOU THANK YOU THANK YOU "Frank Kabel" wrote: Hi D1: =INT(C1) and format as date E1: =MOD(C1,1) or =C1-INT(C1) and format as time -- Regards Frank Kabel Frankfurt, Germany "jenn" schrieb im Newsbeitrag ... Hi, Can I divide a column that is displaying date time in column c to date in d and time in e.... I imported the data from access column c has : 04/04/2004 08:04am and I want d to display 04/04/2004 and e to display 08:04am thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
i need a formula for two columns to sum and to be able divide the | Excel Worksheet Functions | |||
Excel 2007 calculate time between 2 date/time columns | Excel Discussion (Misc queries) | |||
Date vs Time of Day, if x hrs (8-4) divide by?.. | Excel Discussion (Misc queries) | |||
Divide date into separate columns | Excel Worksheet Functions | |||
merging columns - one date, one time | Excel Worksheet Functions |