Help with coin-collecting sheet

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,687
Office Version
  1. 365
Platform
  1. Windows
My 9-year-old grandson discovered that quarters (in the US) come in a lot of styles that commemorate states, national parks, and women. He now wants to start a collection and see how many he can get.

To help him, I started to create a checklist sheet so he could see which ones he has and which ones he needs to get. I found this page on the the US Mint website:

Coin and Medal Programs | U.S. Mint

It has links to details about the various programs. This page is about the America the Beautiful program:

America the Beautiful Quarters® Program | U.S. Mint

I started to copy these tables into a sheet, but ran into a problem with Excel's inability to handle dates before 1900. The minisheet below contains the second table from the US Mint page. I just copied and pasted. The first 4 "dates" in the Date column, all before 1900, came in formatted as General. If I try to sort on any of those, it's a text sort. The last one, 7/01/1902, came in as Date. If I try to sort on that one cell, it says it's a Date sort, but it looks like the other 4 are sorted as text.

All of the dates in the Release Date column came in as Date. I then added the As Date columns formatted as "m/dd/yyyy_0". They don't work properly for any of the "dates".

I have two questions:
  1. Is there any way I can get all of these dates, including those before 1900, to all behave as dates both for display and for sorting?
  2. Why does the the "m/dd/yyyy" portion of the custom format work, but the "_0" part does not?
Thanks

Quarter Coin Checklist.xlsx
CDEFGH
4JurisdictionSiteDateAs Date1Release DateAs Date2
5PennsylvaniaGettysburg National Military Park2/11/18952/11/189501/24/111/24/2011
6MontanaGlacier National Park2/22/18972/22/189704/04/114/04/2011
7WashingtonOlympic National Park2/22/18972/22/189706/13/116/13/2011
8MississippiVicksburg National Military Park2/21/18992/21/189908/29/118/29/2011
9OklahomaChickasaw National Recreation Area07/01/027/01/190211/14/1111/14/2011
Sheet2
Cell Formulas
RangeFormula
F5:F9F5=[@Date]
H5:H9H5=[@[Release Date]]
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
1. Not that i know of. Only thing that ocurres to me is write the dates as text in this format "yyyy/mm/dd" (with leading zeros for month and days). When you sort it, it will as expected.

Book2.xlsx
ABC
1JurisdictionSiteDate
2PennsylvaniaGettysburg National Military Park1895/02/11
3MontanaGlacier National Park1897/02/11
4WashingtonOlympic National Park1897/02/22
5MississippiVicksburg National Military Park1899/02/21
6OklahomaChickasaw National Recreation Area2002/07/01
Sheet3

I was thinking of something like that. Any suggestions for an expression that will convert the downloaded data into that format?
 
Upvote 0
Ok at least in my version and with my regional configuration when i format it like this:

1725902763514.png


It works correctly. Don't know why with the slash it wont work. I guess that it recognizes it as date but then it has problems with the dates that are before 1900.

Column E is the downloaded data? Is it formatted as text?
 
Upvote 0

Forum statistics

Threads
1,223,872
Messages
6,175,102
Members
452,613
Latest member
amorehouse

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top