Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

date format issue

Posted on 2014-10-08
7
Medium Priority
?
174 Views
Last Modified: 2014-10-08
I have received some data from an external source. The current format of the data is shown as dd-mmm-yy, however, when you highlight a cell , in the formula bar - it shows dd/mm/yyyy (i.e. includes the century!).

The problem is the centuries are wrong for some cells of data. I want a separate column to copy the data - and only store dd/mm/yy - whereby yy represents only the last 2 year, i.e. for 2014 it should only store 14. I only want this data and I presume it would be better as text as opposed general/dates which may actually store the century information.

Any pointers of a formula?
0
Comment
Question by:pma111
  • 4
  • 3
7 Comments
 
LVL 99

Expert Comment

by:John Hurst
ID: 40368272
If the century is wrong, then the data is wrong. Formatting won't help this (although you can easily format d-mmm-yy in Excel.

The easiest approach would be to correct the source of the data. Otherwise you would have to change the number to alter the century.
0
 
LVL 3

Author Comment

by:pma111
ID: 40368283
I think its how excel handles dates before 2029 as opposed the source system but i need to export a list to csv in ddmmyy format
0
 
LVL 3

Author Comment

by:pma111
ID: 40368286
Wont formatting it sending it off retain the century thus not solving the problem
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 3

Author Comment

by:pma111
ID: 40368288
I just want to extract the relevant segments as text
0
 
LVL 99

Accepted Solution

by:
John Hurst earned 2000 total points
ID: 40368302
I exported a number of test dates into csv and the text looked like the format. However I don't know how CSV might work in this case.

So try a test:  Select a range or a sheet and format the date as you wish. Then export to CSV, close Excel and open just the CSV. My test says it might work.
0
 
LVL 3

Author Comment

by:pma111
ID: 40368321
thanks john - I had the same result
0
 
LVL 99

Expert Comment

by:John Hurst
ID: 40368331
@pma111  - You are very welcome and I was happy to help. I am glad this worked for you.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question