BarnTalker
New Member
- Joined
- Jan 8, 2018
- Messages
- 3
I downloaded some data into a spreadsheet from a website that I want sorted by date.
The dates came in as "Mar-14-12" with the cells formatted as "General". I also got those little green triangle in the left hand corner which then tells me "This cell contains a date string represented with only 2 digits for the year." when I hover over the question mark.
I want the dates to appear as "3/14/12".
I highlighted the cells and changed the Category from "General" to "Date" and set "Type" as 3/14/12. Now, when I click on a cell, the category has changed to "Date" and the "Type" has changed to "3/14/12", but it still displays as "Mar-14-12". The little green triangles are still there, and I still get the message about only 2 digits for the year. No matter what I do, I cannot get the date to display as I want it to.
I thought OK, the format doesn't really matter as long as the data sorts properly on the date. So I tried sorting. Unfortunately, it sorted by the Month then the day but not the year. It sorted as:
Dec-07-16, Dec-09-15, Dec-10-17, Dec-28-15, Dec-28-17, Feb-10-16, Feb-14-17, etc.
I tried the =DATEVALUE function, but I can't get that to work either.
I must be missing something
What can I do short of manually re-entering all of the dates?
The dates came in as "Mar-14-12" with the cells formatted as "General". I also got those little green triangle in the left hand corner which then tells me "This cell contains a date string represented with only 2 digits for the year." when I hover over the question mark.
I want the dates to appear as "3/14/12".
I highlighted the cells and changed the Category from "General" to "Date" and set "Type" as 3/14/12. Now, when I click on a cell, the category has changed to "Date" and the "Type" has changed to "3/14/12", but it still displays as "Mar-14-12". The little green triangles are still there, and I still get the message about only 2 digits for the year. No matter what I do, I cannot get the date to display as I want it to.
I thought OK, the format doesn't really matter as long as the data sorts properly on the date. So I tried sorting. Unfortunately, it sorted by the Month then the day but not the year. It sorted as:
Dec-07-16, Dec-09-15, Dec-10-17, Dec-28-15, Dec-28-17, Feb-10-16, Feb-14-17, etc.
I tried the =DATEVALUE function, but I can't get that to work either.
I must be missing something
What can I do short of manually re-entering all of the dates?