ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Remove Time Element of a Date (https://www.excelbanter.com/excel-worksheet-functions/34393-remove-time-element-date.html)

jennie

Remove Time Element of a Date
 

Hi,

I have a list of cells with a date and time value - I want a formula
that will remove the time element and just leave a date.

Thanks
Jennie


--
jennie
------------------------------------------------------------------------
jennie's Profile: http://www.excelforum.com/member.php...fo&userid=6706
View this thread: http://www.excelforum.com/showthread...hreadid=385529


VoG

With a date in A2

=DATE(YEAR(A2),MONTH(A2),DAY(A2))


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200507/1

Ron Rosenfeld

On Fri, 8 Jul 2005 03:42:22 -0500, jennie
wrote:


Hi,

I have a list of cells with a date and time value - I want a formula
that will remove the time element and just leave a date.

Thanks
Jennie



=INT(cell_ref)


--ron

jennie


Thanks a lot
Jennie


--
jennie
------------------------------------------------------------------------
jennie's Profile: http://www.excelforum.com/member.php...fo&userid=6706
View this thread: http://www.excelforum.com/showthread...hreadid=385529



All times are GMT +1. The time now is 07:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com