ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula (https://www.excelbanter.com/excel-worksheet-functions/85379-formula.html)

CP

Formula
 
Hi: Is there a simple formula to change a date in a field from one format to
another, for example 24-Dec-2007 to read 12/24/2007? Thanks.

JE McGimpsey

Formula
 
If you want to do it in place, use Format/Cells/Number/Date and choose
your preferred format.

If you want the result in a different cell:

B1: =A1

Format B1 as mm/dd/yyyy


In article ,
CP wrote:

Hi: Is there a simple formula to change a date in a field from one format to
another, for example 24-Dec-2007 to read 12/24/2007? Thanks.


Pete_UK

Formula
 
You can't do this by a formula - you should select the cell and use
Format | Cells | Number (tab) then Custom and either scroll down until
you find a format you want or in the panel type mm/dd/yyyy.

Hope this helps.

Pete



All times are GMT +1. The time now is 01:37 AM.

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