Reputation: 35
Currently my excel sheet has columns of strings in the Date column (example of 1871.01, 1871.02 etc). I would like to convert these to MM/YYYY date format so that I may chart the data in a time series format. I've tried this
=(RIGHT(A9,2)&LEFT(A9,4))
but it just spits out mmyyyy and not in a date format. When I try to format the new cell as a date it does nothing. Any help?
Upvotes: 2
Views: 540
Reputation: 35915
Excel cannot represent dates before 1900. That's why some clever person has used the text format 1871.01
to represent January 1871. You can use this in charts to plot the date in a category (not a date) axis.
If you do want to use a time axis you may want to approach it like this:
With this method you can place as many or as few fake X axis labels as you like, by creating or removing values in the helper for label cells in the grid.
It is a bit more setup than plotting dates after 1900 in a timeline, but it can totally be done.
Upvotes: 2