ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel (https://www.excelbanter.com/excel-discussion-misc-queries/129665-excel.html)

Renetta

Excel
 
I have a file received via Excel with dates formated as 19840719 I would like
it to reflect as 07191984. is there a way to write a formula to change and
or change?



Dave Peterson

Excel
 
If the those dates are in a single column, it would be quicker to:

Select that column
Data|Text to columns
Fixed width
remove any lines that excel guesses
choose date (ymd)
and plop it back where it came from.

Then format those cells as mmddyyyy
(format|cells|Number tab|Custom category)

Renetta wrote:

I have a file received via Excel with dates formated as 19840719 I would like
it to reflect as 07191984. is there a way to write a formula to change and
or change?


--

Dave Peterson

Gord Dibben

Excel
 
Assuming text is in column A

In B1 enter =MID(A1,5,2)&RIGHT(A1,2)&LEFT(A1,4)

Copy down.


Gord Dibben MS Excel MVP



On Wed, 7 Feb 2007 12:20:02 -0800, Renetta
wrote:

I have a file received via Excel with dates formated as 19840719 I would like
it to reflect as 07191984. is there a way to write a formula to change and
or change?




All times are GMT +1. The time now is 06:44 PM.

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