• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Date format issue|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Date format issue|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Date format issue
sp_PrintTopic sp_TopicIcon
Date format issue
Avatar
Shardul Nikam

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
November 30, 2020
sp_UserOfflineSmall Offline
1
November 30, 2020 - 8:39 pm
sp_Permalink sp_Print sp_EditHistory

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.

sp_AnswersTopicSeeAnswer See Answer
Avatar
Lionel Baijot
Member
Members
Level 0
Forum Posts: 119
Member Since:
September 9, 2020
sp_UserOfflineSmall Offline
2
November 30, 2020 - 9:05 pm
sp_Permalink sp_Print sp_EditHistory

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,

Avatar
Shardul Nikam

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
November 30, 2020
sp_UserOfflineSmall Offline
3
November 30, 2020 - 11:27 pm
sp_Permalink sp_Print

Yes, this is imported data. I did not understand how to correct it. Could you please share more?

Avatar
Miguel Santos
Member
Members
Level 0
Forum Posts: 80
Member Since:
February 20, 2020
sp_UserOfflineSmall Offline
4
December 1, 2020 - 2:13 am
sp_Permalink sp_Print sp_EditHistory

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.JPGImage Enlarger

img2.JPGImage Enlarger
img3.JPGImage Enlarger
img4.JPGImage Enlarger

 

 

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,

sp_PlupAttachments Attachments
  • sp_PlupImage img1.JPG (62 KB)
  • sp_PlupImage img2.JPG (63 KB)
  • sp_PlupImage img3.JPG (73 KB)
  • sp_PlupImage img4.JPG (65 KB)
Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1549
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
5
December 1, 2020 - 7:34 am
sp_Permalink sp_Print

Hi Shardul,

Excel will display dates in whatever your regional settings define.  So if your regional settings use m/d/y then that is what you are going to see.

If you want to use d/m/y then you have to change your regional settings.

Phil

sp_AnswersTopicAnswer
Answers Post
Avatar
Shardul Nikam

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
November 30, 2020
sp_UserOfflineSmall Offline
6
December 1, 2020 - 5:25 pm
sp_Permalink sp_Print

Thank you, Lionel, Miguel and Philip for answering.

 

I changed the regional settings from the control panel and got what I wanted. 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: John DiMatteo
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Jennifer Rodriguez-Avila
Khaled Ibrahim
Kiran Supekar
Lisa Myers
Ronald White
Ginette Guevremont
Taryn Ambrosi
Mark Davenport
Christy Nichols
Harald Endres
Forum Stats:
Groups: 3
Forums: 24
Topics: 6530
Posts: 28602

 

Member Stats:
Guest Posters: 49
Members: 32820
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.