Solved

date format issue

Posted on 2014-10-08
7
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 94

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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 3

Author Comment

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

Accepted Solution

by:
John Hurst earned 500 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 94

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

730 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