Active Member
November 30, 2020
Hello,
In my excel (2019), the natural date format seems to be mm/dd/yyyy. The data that I have should be dd/mm/yyyy.
Example:
02/01/2005 Excel reads it as 01 February 2005 while I want it to be 02 January 2005.
I tried changing format by going to NUMBER ---> CUSTOM ----> dd/mm/yyyy. However, it returns the initial 02/01/2005 as 01/02/2005, thereby still reading as 01 February 2005.
I have attached the complete dataset.
If you look at the 84th row, it shows 12/1/2011 reading as December 1, 2011. 85th row is in the general format, 13-01-2011 as there is no 13th month. I need to convert them so that it reads as 12 January and 13 January respectively.
Thanks in advance.
September 9, 2020
Hi, Shardul Nikam,
As you can see, the problem only occurs for the first 12 days of the month. This is normal because this is when there could be a doubt between day and month. Most of the time, this problem is related to regional parameters.
When does this problem occur? I think it is imported data? If so, the easiest way is to force the correct format beforehand.
BR,
February 20, 2020
Hello,
an error occurred when the date (formatting or other) was inserted in that sheet of your workbook, I can change and change the formatting in the entire column ("C"), but for excel (example of the range ("C85") where "the range value is (13-01-2011), 13 will be the day and 01 the month
I cannot automatically invert the entire column C, as there is no reference to the data provided (only that they are inserted), so it is not possible to distinguish the ranges with (01/13/2011) or (01/13/2011) right or wrong , I advise you to do it manually and change the formats
img1 is just your data
img2 is just your data (row 85)
img3 is my macro to convert the entire column to Long Date
img4 is my macro to update the entire column to (dd/mm/yyyy)
in the last case, insert an adjacent column, format that column to the desired date format, copy only the dates that are right, the wrong dates, manually insert in the new column, and delete the old column
Miguel,
1 Guest(s)