• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Problem with dates

Hi the forum,

In a procedure, I compute the monthly average of temperature between the years 1833 and 2015.

Everything goes fine until 12/31/1929. When switching to 01/01/1930, 1930 becomes 30 and is considered as being less than 1900.

Below you will find in the pictures the values in the Excel sheet and in VBA.

The link to access the file:http://www.cjoint.com/c/FEekCs6ddDZ

I will appreciate if a member of the forum could help me to solve this problem.

Thanks in advance.

Harry


upload_2016-5-4_12-18-46.png
upload_2016-5-4_12-19-19.png
 
Back
Top