+ Reply to Thread
Results 1 to 2 of 2

excel considering date as month and month as date

  1. #1
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    excel considering date as month and month as date

    Hi,

    I have date in 2021-09-03, which means it is 3rd of Sept 2021, however when I am trying to change it to DD-MM-YYYY format it is considering it as 09-03-2021 (9th of March 2021), but for 2022-06-17 it is showing correctly as 17-06-2022

    How can i fix it either with formula or vba code..?

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,830

    Re: excel considering date as month and month as date

    have the dates been imported from somewhere into the spreadsheet

    change the format of the date to general

    The number for 3rd sept 21 is 44442
    the number for the 9th Mar 21 is 44264

    if it does not change to a number and stays as the date - then it is text

    is this the only date with a problem or just an example of many issues

    A sample sheet would help here


    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Calculate how many days people have from Start date until End date from month to month
    By Mariaoskars in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 02-28-2022, 09:36 AM
  2. Replies: 5
    Last Post: 01-24-2019, 05:30 PM
  3. Sort month/date/year data using month and date only
    By SMW820 in forum Excel General
    Replies: 8
    Last Post: 11-18-2014, 08:39 AM
  4. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  5. [SOLVED] Change date in excel formulas from month to month automatically
    By ANDREAAS in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2013, 09:34 AM
  6. Replies: 5
    Last Post: 06-17-2010, 02:45 PM
  7. Date arithmetic: adding 1 month to prior end of month date
    By manxman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2006, 04:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1