Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
I have a report with date and time column. The data looks like this:
11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
Try this:
A1 = 11/6/2008 2:18:00 PM For the date: =INT(A1) Format as Date For the time: =MOD(A1,1) Format as Time -- Biff Microsoft Excel MVP "Dan B" wrote in message ... I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
From the main menu select:
Data - Text To Columns On the popup window select Delimited, then click next,then check mark the Space box and click next Click on Date and From the Drop Down box on your right, select the format you prefer, click on the next field (not the next button) and do the same for the time. Then Finish -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Dan B" wrote: I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
Sorry, you dont do anything for the Time field..
-- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Michael" wrote: From the main menu select: Data - Text To Columns On the popup window select Delimited, then click next,then check mark the Space box and click next Click on Date and From the Drop Down box on your right, select the format you prefer, click on the next field (not the next button) and do the same for the time. Then Finish -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Dan B" wrote: I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
Perfect, thanks.
"T. Valko" wrote in message ... Try this: A1 = 11/6/2008 2:18:00 PM For the date: =INT(A1) Format as Date For the time: =MOD(A1,1) Format as Time -- Biff Microsoft Excel MVP "Dan B" wrote in message ... I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
Thanks for your help.
"Michael" wrote in message ... Sorry, you dont do anything for the Time field.. -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Michael" wrote: From the main menu select: Data - Text To Columns On the popup window select Delimited, then click next,then check mark the Space box and click next Click on Date and From the Drop Down box on your right, select the format you prefer, click on the next field (not the next button) and do the same for the time. Then Finish -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Dan B" wrote: I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need formulas to pull date and time from 1 cell to 2
You're welcome!
-- Biff Microsoft Excel MVP "Dan B" wrote in message ... Perfect, thanks. "T. Valko" wrote in message ... Try this: A1 = 11/6/2008 2:18:00 PM For the date: =INT(A1) Format as Date For the time: =MOD(A1,1) Format as Time -- Biff Microsoft Excel MVP "Dan B" wrote in message ... I have a report with date and time column. The data looks like this: 11/6/2008 2:18:00 PM I need to pull the date into one cell and the time into another. How can I do this when the date and time will vary in the number of characters? i.e =left(a1,9) will miss part of the date if were another character long, like 11/16/2006. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can you just pull Just the Time Value out of a Cell? | Excel Discussion (Misc queries) | |||
Pull and store a value on specific date in another cell | Excel Worksheet Functions | |||
Combined date time cell to separate date & time components | Excel Discussion (Misc queries) | |||
Combined date time cell to separate date & time components | Excel Discussion (Misc queries) | |||
Combined date time cell to separate date & time components | Excel Discussion (Misc queries) |