Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Reverse and format string

I receive date data in yyyymmdd format eg, 20061031 = 31 Oct 2006.
I want to transpose the data to dd-mm-yyyy format.
Prefer not to use VBA.
I thought I had seen an in cell format using the text() & mid() expressions
but cannot reproduce it.

Tks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Reverse and format string

=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

Format as Date

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mike" wrote in message ...
|I receive date data in yyyymmdd format eg, 20061031 = 31 Oct 2006.
| I want to transpose the data to dd-mm-yyyy format.
| Prefer not to use VBA.
| I thought I had seen an in cell format using the text() & mid() expressions
| but cannot reproduce it.
|
| Tks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Reverse and format string

another way: in B1 enter
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))
then format B1 - Custom dd-mm-yyyy


"Mike" wrote:

I receive date data in yyyymmdd format eg, 20061031 = 31 Oct 2006.
I want to transpose the data to dd-mm-yyyy format.
Prefer not to use VBA.
I thought I had seen an in cell format using the text() & mid() expressions
but cannot reproduce it.

Tks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Reverse and format string

Without formulas and helper cells.

DataText to ColumnsNextNextColumn Data FormatDateYMDFinish.

Format to your liking.


Gord Dibben MS Excel MVP

On Tue, 31 Oct 2006 03:56:01 -0800, Mike wrote:

I receive date data in yyyymmdd format eg, 20061031 = 31 Oct 2006.
I want to transpose the data to dd-mm-yyyy format.
Prefer not to use VBA.
I thought I had seen an in cell format using the text() & mid() expressions
but cannot reproduce it.

Tks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
new workbook format is in reverse Penny Excel Discussion (Misc queries) 3 August 16th 06 02:37 PM
Reverse column order with a macro [email protected] Excel Discussion (Misc queries) 3 June 1st 06 10:39 PM
CSV Date Format and General Arrrggghhh-ness andyiain Excel Discussion (Misc queries) 2 February 10th 06 03:44 PM
Printing same table on reverse side of all pages. dziw Excel Discussion (Misc queries) 1 July 6th 05 06:26 PM
How do I reverse a spreadsheet that is in the format of a subtota. Frank DiPietro Excel Discussion (Misc queries) 2 January 18th 05 05:15 PM


All times are GMT +1. The time now is 08:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"