Date Extract Issue - Formatting

Russ At Index

Well-known Member
Joined
Sep 23, 2002
Messages
706
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Hi Excel Guru's

I have a data extraction ( sounds painful , but isn't )
from a piece of electrical testing software.

Have downloaded from csv file into workable spreadsheet.

My problem is with the "test date " & "re test date" columns.

Data comes into Excel as 20050905 , i would like to convert
to 05/09/2005.

I have tried text to columns , but for some strange reason
it extends the result over three colomns !!!!!

Any help on this date conversion would be grately appreciated.

Keep up the good work

Russ.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You can convert it using a formula, if that's any good:
Code:
=DATE(VALUE(LEFT(cell,4)),VALUE(MID(cell,5,2)),VALUE(RIGHT(cell,2)))
That cuts it down to 2 columns, I guess.
 
Upvote 0
With AgentSmith's formula I think this is a good way to go.

I nowadays import everything as text and convert afterwards because Excel can sometimes convert imported dates into different formats in the same column.
 
Upvote 0
AgentSmith , BrianB,

Thank you very much , works like a dream !!!

Keep On Excelling !!!! :biggrin:

Russ
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top