Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I have a date and time in cell A1 e.g. 3/14/2008 03:45 PM and in cell B1 I only want date not the time i.e. 3/14/2008. can someone help me with some formula for this. Regards Aviral Sharma |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The formula I always use for that is:
=INT(B1) ....and format that cell as DATE. -- "Actually, I *am* a rocket scientist." -- JB Your feedback is appreciated, click YES if this post helped you. "Aviral Sharma" wrote: Hi I have a date and time in cell A1 e.g. 3/14/2008 03:45 PM and in cell B1 I only want date not the time i.e. 3/14/2008. can someone help me with some formula for this. Regards Aviral Sharma |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can use..
=TEXT(A1,"mm/dd/yyy") or =A1 and then format the cell to the date format |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help extracting date and time with Excel 2K | Excel Worksheet Functions | |||
Extracting specific data from Date and time strings | Excel Discussion (Misc queries) | |||
Extracting Time from a cell that has both the date and the time | Excel Discussion (Misc queries) | |||
Adding time to date-time formatted cell | Excel Discussion (Misc queries) | |||
Subtracting Cells formatted with Date AND Time to get hours? | Excel Discussion (Misc queries) |