Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

date format issue

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?
Avatar of John
John
Flag of Canada image

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.
Avatar of Pau Lo
Pau Lo

ASKER

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
Avatar of Pau Lo

ASKER

Wont formatting it sending it off retain the century thus not solving the problem
Avatar of Pau Lo

ASKER

I just want to extract the relevant segments as text
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pau Lo

ASKER

thanks john - I had the same result
@pma111  - You are very welcome and I was happy to help. I am glad this worked for you.