How to change date format in Excel and create custom formatting

The first part of our tutorial focuses of formatting dates in Excel and explains how to set the default date and time formats, how to change date format in Excel, how to create custom date formatting, and convert your dates to another locale.

Along with numbers, dates and times are the most common data types people use in Excel. However, they may be quite confusing to work with, firstly, because the same date can be displayed in Excel in a variety of ways, and secondly, because Excel always internally stores dates in the same format regardless of how you have formatted a date in a given cell.

Knowing the Excel date formats a little in depth can help you save a ton of your time. And this is exactly the aim of our comprehensive tutorial to working with dates in Excel. In the first part, we will be focusing on the following features:

Excel date format

Before you can take advantage of powerful Excel date features, you have to understand how Microsoft Excel stores dates and times, because this is the main source of confusion. While you would expect Excel to remember the day, month and the year for a date, that's not how it works...

Excel stores dates as sequential numbers and it is only a cell's formatting that causes a number to be displayed as a date, time, or date and time.

Dates in Excel

All dates are stored as integers representing the number of days since January 1, 1900, which is stored as number 1, to December 31, 9999 stored as 2958465.

In this system:

  • 2 is 2-Jan-1900
  • 3 is 3-Jan-1900
  • 42005 is 1-Jan-2015 (because it is 42,005 days after January 1, 1900)

Time in Excel

Times are stored in Excel as decimals, between .0 and .99999, that represent a proportion of the day where .0 is 00:00:00 and .99999 is 23:59:59.

For example:

  • 0.25 is 06:00 AM
  • 0.5 is 12:00 PM
  • 0.541655093 is 12:59:59 PM

Dates & Times in Excel

Excel stores dates and times as decimal numbers comprised of an integer representing the date and a decimal portion representing the time.

For example:

  • 1.25 is January 1, 1900 6:00 AM
  • 42005.5 is January 1, 2015 12:00 PM

How to convert date to number in Excel

If you want to know what serial number represents a certain date or time displayed in a cell, you can do this in two ways.

1. Format Cells dialog

Select the cell with a date in Excel, press Ctrl+1 to open the Format Cells window and switch to the General tab.

If you just want to know the serial number behind the date, without actually converting date to number, write down the number you see under Sample and click Cancel to close the window. If you want to replace the date with the number in a cell, click OK.
Use the Format Cells dialog to get the number behind a given date in Excel.

2. Excel DATEVALUE and TIMEVALUE functions

Use the DATEVALUE() function to convert an Excel date to a serial number, for example =DATEVALUE("1/1/2015").

Use the TIMEVALUE() function to get the decimal number representing the time, for example =TIMEVALUE("6:30 AM").

To know both, date and time, concatenate these two functions in the following way:

=DATEVALUE("1/1/2015") & TIMEVALUE("6:00 AM")

Use the DATEVALUE and TIMEVALUE functions to find the number behind a given date and time in Excel.

Note. Since Excel's serial numbers begins on January 1, 1900 and negative numbers aren't recognized, dates prior to the year 1900 are not supported in Excel.

If you enter such a date in a sheet, say 12/31/1899, it will be a text value rather than a date, meaning that you cannot perform usual date arithmetic on early dates. To make sure, you can type the formula =DATEVALUE("12/31/1899") in some cell, and you will get an anticipated result - the #VALUE! error.

Default date format in Excel

When you work with dates in Excel, the short and long date formats are retrieved from your Windows Regional settings. These default formats are marked with an asterisk (*) in the Format Cell dialog window:
Default date formats in Excel

The default date and time formats in the Format Cell box change as soon as you change the date and time settings in Control Panel, which leads us right to the next section.

How to change the default date and time formats in Excel

If you want to set a different default date and/or time formats on your computer, for example change the USA date format to the UK style, go to Control panel and click Region and Language. If in your Control panel opens in Category view, then click Clock, Language, and Region > Region and Language > Change the date, time, or number format.

On the Formats tab, choose the region under Format, and then set the date and time formatting by clicking on an arrow next to the format you want to change and selecting the desired one from the drop-down list:
Setting the default date and time formats in Control panel

Tip. If you are not sure what different codes (such as mmm, ddd, yyy) mean, click the "What does the notation mean" link under the Date and time formats section, or check the Custom Excel date formats in this tutorial.

If you are not happy with any time and date format available on the Formats tab, click the Additional settings button in the lower right-hand side of the Region and Language dialog window. This will open the Customize dialog, where you switch to the Date tab and enter a custom short or/and long date format in the corresponding box.
Setting the custom date and time formats

How to quickly apply default date and time formatting in Excel

Microsoft Excel has two default formats for dates and time - short and long, as explained in default Excel date format.

To quickly change date format in Excel to the default formatting, do the following:

  • Select the dates you want to format.
  • On the Home tab, in the Number group, click the little arrow next to the Number Format box, and select the desired format - short date, long date or time.

Quickly applying the default date and time formatting in Excel

If you want more date formatting options, either select More Number Formats from the drop-down list or click the Dialog Box Launcher next to Number. This will open a familiar Format Cells dialog and you can change date format there.

Click the Dialog Box Launcher to open the Format Cells dialog.

Tip. If you want to quickly set date format in Excel to dd-mmm-yy, press Ctrl+Shift+#. Just keep in mind that this shortcut always applies the dd-mmm-yy format, like 01-Jan-15, regardless of your Windows Region settings.

How to change date format in Excel

In Microsoft Excel, dates can be displayed in a variety of ways. When it comes to changing date format of a given cell or range of cells, the easiest way is to open the Format Cells dialog and choose one of the predefined formats.

  1. Select the dates whose format your want to change, or empty cells where you want to insert dates.
  2. Press Ctrl+1 to open the Format Cells dialog. Alternatively, you can right click the selected cells and choose Format Cells… from the context menu.
  3. In the Format Cells window, switch to the Number tab, and select Date in the Category list.
  4. Under Type, pick a desired date format. Once you do this, the Sample box will display the format preview with the first date in your selected data.
    Changing the date format in Excel
  5. If you are happy for the preview, click the OK button to save the format change and close the window.

If the date format is not changing in your Excel sheet, most likely your dates are formatted as text and you have to convert them to the date format first.

How to convert date format to another locale

Once you've got a file full of foreign dates and you would most likely want to change them to the date format used in your part of the world. Let's say, you want to convert an American date format (month/day/year) to a European style format (day/month/year).

The easiest way to change date format in Excel based on how another language displays dates is as follows:

  • Select the column of dates you want to convert to another locale.
  • Press Ctrl+1 to open the Format Cells
  • Select the language you want under Locale (location) and click OK to save the change.

Converting Excel dates to another locale

If you want the dates to be displayed in another language, then you will have to create a custom date format with a locale code.

Creating a custom date format in Excel

If none of the predefined Excel date formats is suitable for you, you are free to create your own.

  1. In an Excel sheet, select the cells you want to format.
  2. Press Ctrl+1 to open the Format Cells dialog.
  3. On the Number tab, select Custom from the Category list and type the date format you want in the Type box.
    Creating a custom date format in Excel

    Tip. The easiest way to set a custom date format in Excel is to start from an existing format close to what you want. To do this, click Date in the Category list first, and select one of existing formats under Type. After that click Custom and make changes to the format displayed in the Type box.

When setting up a custom date format in Excel, you can use the following codes.

Code Description Example (January 1, 2005)
m Month number without a leading zero 1
mm Month number with a leading zero 01
mmm Month name, short form Jan
mmmm Month name, full form January
mmmmm Month as the first letter J (stands for January, June and July)
d Day number without a leading zero 1
dd Day number with a leading zero 01
ddd Day of the week, short form Mon
dddd Day of the week, full form Monday
yy Year (last 2 digits) 05
yyyy Year (4 digits) 2005

When setting up a custom time format in Excel, you can use the following codes.

Code Description Displays as
h Hours without a leading zero 0-23
hh Hours with a leading zero 00-23
m Minutes without a leading zero 0-59
mm Minutes with a leading zero 00-59
s Seconds without a leading zero 0-59
ss Seconds with a leading zero 00-59
AM/PM Periods of the day
(if omitted, 24-hour time format is used)
AM or PM
Note. If you're setting up a custom format that includes date and time values and you use "m" immediately after "hh" or "h" or immediately before "ss" or "s", Microsoft Excel will display minutes instead of the month.

When creating a custom date format in Excel, you can use a comma (,) dash (-), slash (/), colon (:) and other characters.

For example, the same date and time, say January 13, 2015 13:03, can be displayed in a various ways:

Format Displays as
dd-mmm-yy 13-Jan-15
mm/dd/yyyy 01/13/2015
m/dd/yy 1/13/15
dddd, m/d/yy h:mm AM/PM Tuesday, 1/13/15 1:03 PM
ddd, mmmm dd, yyyy hh:mm:ss Tue, January 13, 2015 13:03:00

How to create a custom Excel date format for another locale

If you want to display dates in another language, you have to create a custom format and prefix a date with a corresponding locale code. The locale code should be enclosed in [square brackets] and preceded with the dollar sign ($) and a dash (-). Here are a few examples:

  • [$-409] - English, Untitled States
  • [$-1009] - English, Canada
  • [$-407] - German, Germany
  • [$-807] - German, Switzerland
  • [$-804] - Bengali, India
  • [$-804] - Chinese, China
  • [$-404] - Chinese, Taiwan

You can find the full list of locale codes on this blog.

For example, this is how you set up a custom Excel date format for the Chinese locale in the year-month-day (day of the week) time format:
Creating a custom Excel date format for the Chinese locale

The following image shows a few examples of the same date formatted with different locale codes in the way traditional for the corresponding languages:
Custom date formats for different locales

Excel date format not working - fixes and solutions

Usually, Microsoft Excel understands dates very well and you are unlikely to hit any roadblock when working with them. If you happen to have an Excel date format problem, please check out the following troubleshooting tips.

A cell is not wide enough to fit an entire date

If you see a number of pound signs (#####) instead of dates in your Excel worksheet, most likely your cells are not wide enough to fit the whole dates.

Solution. Double-click the right border of the column to resize it to auto fit the dates. Alternatively, you can drag the right border to set the column width you want.

Negative numbers are formatted as dates

In all modern versions of Excel 2013, 2010 and 2007, hash marks (#####) are also displayed when a cell formatted as a date or time contains a negative value. Usually it's a result returned by some formula, but it may also happen when you type a negative value into a cell and then format that cell as a date.

If you want to display negative numbers as negative dates, two options are available to you:

Solution 1. Switch to the 1904 date system.

Go to File > Options > Advanced, scroll down to the When calculating this workbook section, select the Use 1904 date system check box, and click OK.
Switching to the 1904 date system

In this system, 0 is 1-Jan-1904; 1 is 2-Jan-1904; and -1 is displayed as a negative date -2-Jan-1904.
Negative numbers are displayed as negative dates

Of course, such representation is very unusual and takes time to get used to, but this is the right way to go if you want to perform calculations with early dates.

Solution 2. Use the Excel TEXT function.

Another possible way to display negative numbers as negative dates in Excel is using the TEXT function. For example, if you are subtracting C1 from B1 and a value in C1 is greater than in B1, you can use the following formula to output the result in the date format:

Use the Excel TEXT function to display negative numbers as dates.

You may want to change the cell alignment to right justified, and naturally, you can use any other custom date formats in the TEXT formula.

Note. Unlike the previous solution, the TEXT function returns a text value, that is why you won't be able to use the result in other calculations.

Dates are imported to Excel as text values

When you are importing data to Excel from a .csv file or some other external database, dates are often imported as text values. They may look like normal dates to you, but Excel perceives them as text and treats accordingly.

Solution. You can convert "text dates" to the date format using Excel's DATEVALUE function or Text to Columns feature. Please see the following article for full details: How to convert text to date in Excel.

This is how you format dates in Excel. In the next part of our guide, we will discuss various ways of how you can insert dates and times in your Excel worksheets. Thank you for reading and see you next week!

You may also be interested in:

226 Responses to "How to change date format in Excel and create custom formatting"

  1. jibu says:

    dear Svetlana,
    Thanks so much for the index. match formula.. but there a error coming in some of the cell where date in not picking (it is taking some unknown date like 00-00-00) . how can i fix that error.please help

    • Hi Jibu,

      Index / Match is very powerful indeed, since I learned it I've practically given up on using Vlookup.

      As for the error, sorry, it's next to impossible to advise anything without seeing your data. If you could post this question on our Excel forum with a sample workbook attached, our support team will try to help.

  2. Reuben says:

    I’m looking for some help in excel I’m trying to automatically insert today's date in a cell when certain cells have data but I don’t what that date to change in the future/when I next open Excel

    This is what I have so far.

    =IF(OR(B2>0,H2>0),TODAY(), "FALSE")

    From what I have read if I open the workbook tomorrow it will update all the previously dated cells.

    Has anyone advice or a way to fix this ?

  3. A says:

    I have one question on date formats. I have some excel files exported from a web based tool from different locale and some files has date format as dd/mm/yyyy and some has mm/dd/yyyy. Now I Have to export them into a access DB which is throwing error due to diff date formats. As I have over 100 files can some one suggest is there a way to make the date format similar when exporting into access?

  4. subhash says:

    How To Change date format from 12 may 2014 to 20140512

  5. Tim says:

    How would I change a format of 20150708 into something like: 8-July-15?

  6. Brian says:

    How do you get the following date formats:

    If a formula results 01/15. How can I format to read JA/15.

    Each month will have its own letter combo.

  7. smita says:

    Hi, i am trying all the above possibilities but unable to change format for date example "15/6/2015 09:36:40 AM" pls suggest me

  8. Hi Smita,

    Open the Format Cells dialog, switch to Custom and copy/paste the following format in the Type box:
    d/m/yyyy hh:mm:ss AM/PM

    • Rajev Parihar says:

      Date Amount
      7/1/2015 83098 Avg Amount Weekday Mon
      7/2/2015 70699 1st Week Week Day Tue
      7/3/2015 81769 Weekend Day Wed
      7/4/2015 59426 2nd Week Week Day Thu
      7/5/2015 57018 Weekend Day Fri
      7/6/2015 88446 3rd Week Week Day
      7/7/2015 71574 Weekend Day Weekend Sat
      7/8/2015 79595 4th Week Week Day Sun
      7/9/2015 76862 Weekend Day
      7/10/2015 86939 5th Week Week Day
      7/11/2015 55152 Weekend Day
      7/12/2015 53965
      7/13/2015 75443
      7/14/2015 84495
      7/15/2015 80454
      7/16/2015 75999 Q): - you have to find "week day" and "week end day" Avg for the month.
      7/17/2015 80011 Note:- everything will be automatic, you are not alowed to put anythin manualy.
      7/18/2015 58481 Note:- if you want you can insert new row or column. (try to make simple and easy formula)
      7/19/2015 50221
      7/20/2015 76699
      7/21/2015 84291
      7/22/2015 77361 I need this solution and how
      7/23/2015 75877
      7/24/2015 82523
      7/25/2015 57064
      7/26/2015 56603
      7/27/2015 88283
      7/28/2015 77222
      7/29/2015 85175
      7/30/2015 86431
      7/31/2015 88306

  9. Doug says:

    Using Excel 365.
    I know how to create a Custom Format for dates using the Format Dialog Box. In some mail merge data files I create, I want to use the same date format each time I export the data from Access into Excel.

    I don't want to retype the format each time I use it in a new merge file. Is there a way to save the format in Excel so I select it instead of needing to create it new each time. I want to enter the keystrokes once and reuse the format each time I export my data into Excel to run a merge?


    • Maggie says:

      Doug, did you ever figure out a way to save your custom date format? I'm trying to do the same thing. I'd like my custom date/time formatting to be an option I can select rather than have to type it into the custom box every time.

  10. Babu says:

    How to convert in the excel from dot to time format.

  11. Babu says:

    i.e 8.15 to 8:15

  12. etse says:

    send the video formula

  13. Ankit says:

    I have the exact same problem. I already tried erasing the excel keys from the windows registry, I have tried to reset excel, and lastly run an office repair but I still cannot make it work, some dates change and some don't even though all of the dates are on the exact same column with the exact same formatting. Did you ever find a way to fix it?

  14. Muhammad Asif Iqbal says:

    i want the date format like 6th August 2015.

    please help to make this possible.


  15. Vikram says:

    Hi, could please help me how to find the volume for the date and time stamp.
    Eg: 12:00:00 AM, i need how many no of cases for that day???

  16. segun says:

    How do i change 20080702 to July?

  17. adit says:

    hi svet? can you help me. why when i typed like 01012010 means Jan 1st 2010 the result is 14/10/4670 ? is there any way i can custom the date, so when i type 01012010 the result is 01/01/2010 ? thanks advance

  18. adit says:

    oh i'm sorry, fyi my windows reginal setting is in indonesia. thank u so much

  19. Susana says:

    Excellent article! I was going crazy trying to fix an issue with dates from an old file that didn't convert correctly when I upgraded and I finally could. Thank you very much!

  20. sanjay says:

    I want to date 18/08/2015 is 1808205 no slash no dot please help me.thanks

  21. Saquib Shahnawaz says:

    Hi Svetlana,

    how can i format an excel cell which will give me a day format which will give me in days more than 31. Whenever I am giving a day with the format "dd" the same is showing as 1 for 32 days and so on.Please help

  22. Désirée says:

    Can someone help with an issue we are having. The format of our Excel is Swedish. when I type a date into a cell with no (General) format, such as 3/10 (meaning October 3rd) Excel changes this to 10/3 and applies a custom format to the cell. How can I get Excel to simply accept what I have entered as the correct format and not change the order?

    • Hazel says:

      Did you managed to get a solution? I'm facing the same issue. Can't seems to find the answer and so far, you're the only one that is asking this question. How to change the sequence? 1/5 to be 1st May instead of 5th Jan. Please help.

  23. jamir khan says:

    hi sevetlana how to inserting date use utc format in c# code.

  24. Marco says:

    Hi there,
    i am importing a csv file and i have a column with date (in chinese e.g. 8月28日 which is 28th of August) but when i import this file (and replace the chinese characters with "/") some of the dates is shown as a date and some other as text. Despite of it if i try to change the format of the "text" date, it doesn't show the number as it is supposed to show.
    It is very difficult to find a solution i have been struggling for the entire day.
    Can replace the date one by one as we are talking several files with several thousands of row each.
    I trie to change my local language setting as well but no solution unfortunately.
    Any helps?

  25. Adonay Carmona says:

    Hi...I have several columns under the following format: "SEP-16-2013" until "SEP-16-2015" but when I try to change the "GENERAL" format to "DATE" format, excel does nothing and I need to filter the info by specific month,day,year. If I replace "SEP" to "09" I am abble to change the format (as DATE), but I have at least 60 columns under that format and have it done this way takes a lot of time...any suggestions?

  26. Mark says:

    I need to covert a cell that contains both the date and time 1027154048 (1027 is the date and 154048 is hour (15=3) minutes and seconds. I need to be able to convert by formula into two separate cells if possible without going in and separating the numbers manually for each cell?

  27. JoeD says:

    The second link in this whole section is:
    How to convert date to number in Excel

    I need the reverse
    How to convert a serial number to date in Excel
    but have not found it. Think of is as a trig function where I want to do the reverse. It's probably somewhere on the net, and I just can't see it... Getting old I guess... Can you help?? Thanks. JoeD 20151102 (I see this date format is becoming more popular; I've used it for about 30 years even with 4 decimals appended

  28. Rich says:

    Is it possible to convert a date in excel to an 11 digit interga 11 format.
    So this equates to the time in seconds since 1970.

  29. Brain says:

    Thank you for such a great tutorial!!! You just saved my job.

  30. REMON says:

    please help i need to create date format as yyyymmdd (20151230)= 30/12/2015 . i have tryed but it's not working . advice your assisstance

  31. Luis says:

    Hi, I need to convert a date format like this: dd mm (no dash, comma, colon as separation characters between day and month values) to any date format which can be recognized by excel. Already tried with custom format without any success....can you help me?

  32. Mark says:

    I found the answer to my question thought I would share

    DATE: =LEFT($D2,2)&"/"&MID($D2,3,2)&"/15"

    TIME: =MID($D2,5,2)&":"&MID($D2,7,2)&":"&RIGHT($D2,2)

    Hope someone else needs it :-)


  33. Terry says:

    In Canada the government has specific date format that is legislated for food items. The format for the Date is as follows: 08 JA 30
    January: JA
    February: FE
    March: MR
    April: AL
    May: MA
    June: JN
    July: JL
    August: AU
    September: SE
    October: OC
    November: NO
    December: DE

    My question is how can excel use AL for April or MR for March? Much appreciated.

  34. Willy says:

    Hi, how do I replace cells with format 00:03:13:79 by 00:03:13,79 for a whole column?
    I need to be able to add those time values (in format uu:mm:ss,00;@). When I simply replace the last ":" by "," it works, but changing all those cells by hand would take ages...

  35. JAYAPRAKASH says:


    I WANT TO CONVERT THIS AS 05/22/2015

    • prashanth says:


      I WANT TO CONVERT THIS AS 05/22/2015


      • MJ says:

        Hi can you help me?

        from CVS file. The date shows 01/07/2016 which is July 1, 2016, But when I format the cell and click the format 14-Mar-01 which means"March 14, 2001" it shows 1-Jul-16 which is January 7, 2016. how I can make it July 1, 2016 which is suppose to be the date.

        Thank you.

  36. vipin kumar says:

    my problum whan iam cell formula =if(g2>f2,"profit",if(g2>f2,"loss",if(g2>f2,"even))) not come the loss

  37. Roger says:

    Vipin Kumar:
    If I understand your problem right, you can try


    Good Luck!

  38. Aditya says:


    How to change the Fri, 1 Jan, 2016 format to 1-Jan-2015 format ?

    • Hi Aditya,

      It's one of the predefined Excel formats for dates. So, simply select the cell(s), press Ctrl+1 to open the Format Cells dialog, and switch to Dates. Then under the Type section, scroll to the very bottom, and select the format like "14-Mar-2012".

  39. sanjay says:

    Employee attendance tables in Excel field is -Personal No. date month from-16.12.2015 to 15.01.2015 this format i want to Sheet and also his -duty,overtimes,leave,calculate this table type
    PerNo. - Date- time period- hours
    from - to -
    98264532 16.12.2015 09:00- 17:30 7.5

  40. prashanth says:


    I WANT TO CONVERT THIS AS 05/22/2015


  41. Brighton Mahohoho says:

    How best can I obtain a number after using the =DATEIF()function for computing the age of an individual

  42. Rizo says:

    I was sent a spreadsheet on the date column is has it as 20140207 but I need to change it to 2/7/2014 but when I go to the Format Cell and date and try to change the date format all I get are ########## even if I try to make the cell bigger I get the same thing.

    • Rizo says:

      also forgot to mention can't use formulas system I trying to upload information won't accept formulas.

      • Hello Rizo,

        Excel perceives 20140207 as a number and is unable to convert it to a date on its own. That is why you are seeing those hash marks.

        Assuming that 02 is a month and 07 is a day, you can use the following formula to convert a number to date:

        =DATE(LEFT(A1,4), MID(A1,5,2), RIGHT(A1,2))

        The formula returns a serial number representing a date in the internal Excel system. And now, you can open the Format Cells dialog and set the date format you want.

  43. Cookie says:

    Hi Svetlana! I've received a csv file from Shelfari of all the books I've placed on their "shelves" to import into Goodreads, as Shelfari is being taken over by Goodreads; both are Amazon websites. I've been told by Goodreads that I must use a csv file with a date format of yyyyy-mm-dd (they stipulated dashes between numbers rather than slashes) to have my "date read" column import accurately, i.e., show that i read a book on January 12, 2014 instead of December 1, 2014.

    After I create a custom date format (yyyy-mm-dd -- but I've also tried yyyy/mm/dd) for the date read column, I save the file as a csv(comma delimited) type and choose "yes" to keep this format but leave out incompatible features. If I choose "no", the changes must be saved in another type/format, but Goodreads needs a csv file so I have to choose yes.

    So I choose yes and save as a csv. But when I try to close the file window I get the pop up box: do you want to save the changes you made to the file? (I thought I just had!) and have to answer the box explaining the incompatible features again (I thought I just had!). Whether I choose yes or no to save at this point and whether I use dashes or slashes to separate the numbers, when I reopen the file, the dates are back to the original mm/dd/yyyy format. I'm using Microsoft Office Excel 2007 and am running Windows 10.

    I hope you can help me save these dates in the format Goodreads has asked for: yyyy-mm-dd instead of the format Shelfari sent me in the csv file mm/dd/yyyy.
    Thanks so much,

  44. santosh says:

    how to convert datetime to unix time?

  45. Pedro says:

    Hello everyone
    Does anyone knows how to convert a date in pivot table into a fortnight? For example, 2015-07-09 is the first fortnight and 2015-09-16 is the second fortnight.
    Many thanks to you all

  46. Todd says:

    Does anyone know how to convert a date in the 20131001 format to a date format of 10/1/2013, or vice versa?


  47. Elizabeth says:

    I have an excel 2013 sheet that has "format as a table" and the top row is headers with a drop down for sorting. A group of column headers are dates and they are formatted as such. However, some of the dates (formated as mm/dd/yy), are throwing an extra number on the end of the date. If I input 02/10/16, it insert 02/10/162 in the cell. How do I fix this? And the sample under Format Cells, Date, mm/dd/yy shows mm/dd/yyy.

  48. Kaps says:

    My query is regarding date format. is it possible? if i enter a single number in cell and it show particular date. For example like current month is february 2016.

    if i enter 1 then it show 02/01/2016(mm/dd/yyyy)
    if i enter 15 then it show 02/15/2016(mm/dd/yyyy)
    if i enter 23 then it show 02/23/2016(mm/dd/yyyy)

    I just want to enter only one digit and it show me date of this digit with current month.

  49. Marika says:

    Can anyone help me, Im having difficulties with formatting the date in excel to look the same on all columns, this is the data I have for example:

    but I need all the columns to look (example) 20-05-15.

    I have tried several things but can not get them all to the same format.

    Please help.


  50. JOY says:

    How would I change a format of 20160328/222241
    into something like: 8-July-15 8:54AM?

    thank you

  51. Atul Kumar says:

    I have problem changing the format of date.When i am entering 20.03.2016 manually in a cell and substituating "." with "/" and than changing it to with VALUE funtion and then applying TEXT function to get the as 20-March-2016.
    I am not getting the solution.

    Please provide relevant solution for this.

  52. sabari says:


    I am unable to change the said date 24-08-2016 to 24-08-16, i tried different methods as u said above..i went through cutom typing ddmmyy but still displays the same format, Pls help

  53. Nicole says:

    I have an Excel date that I need to be just the month & year. Although I can format it to mm/yy when the data is entered for example as 10/18 (Oct 2018) Excel changes takes it as to 10/18/16 and shows 10/16. How can I correct this?

  54. waqas says:

    in my excel sheet i am trying to split month, day, year but there's an issue. some date are typed as mm/dd/yyyy format but some are in dd/mm/yyyy. in first case (mm/dd/yyyy) when i split it works well but those cells that are in dd/mm/yyyy format appear with error. i'll be thankful if someone can help me out.

  55. Amy says:


    I need to set up a spreadsheet that when opened will put in the date. HOWEVER - it will be printed from 8pm-10pm and will need to be dated the next day's date. Please help.

  56. David says:

    Simple question (I think), I need to display the date as a year and week number (2016-16 for example). I can manage to get the 'today' ok in date format and can get the week-number in a separate do I get the format I'm looking for, year-week number?


  57. C.T says:


    I WANT TO CONVERT THIS AS 05/22/2015

  58. C.T says:



  59. Leanne says:

    In my country we show the date as yyyy/mm/dd or dd/mm/yyyy. My region is set correctly, but when I input a date such as 1 May, I insert 1/5. The cell automatically changes to 2016-01-05 (which looks like 5 January to me. My settings all appear to be correct.

    Any suggestions?

  60. Binod says:

    We need to change format
    From to
    04-02-2016 02-04-2016
    04-02-2016 02-04-2016

    Please help me for the same

    • Hello Binod,

      Select all the cells with your dates, press Ctrl+1, select 'Custom' under Categories, and type the following format in the Type box:

      Assuming that in "02-04-2016", 02 is the day and 04 is the month.

  61. Binod says:

    Its not working please give other formula or something else.

  62. Chandra Sekhar Reddy says:

    I have doubt,can any one help me how to alter the date which is included in exisiting formulae.

  63. Sam says:

    Hi Svetlana,

    Seems like you are the guru of Excel so here goes my question.
    I tried to add 7 days to my date format from a cell but it still comes us as #VALUE! For example my date was in A1 i typed =A1+7. No fixes around. Changed the whole worksheet's format to date as well but still does not work. Hope you can help.


  64. Mehran says:

    Hi,I have some numbers like "2-4" when I copy them to excel they appear like "4-Feb". I want the numbers keep their own format. Could you tell me how to convert?

  65. Raghu Jangamakote says:

    Please help me, I am going crazy. In the following list of dates you will see two formats of dates, I want all of them to be arranged mm/dd/yyyy. When I try to format it doesn't work for some reason, here is a sample list:

  66. Karthikeyan says:

    Dear Madam,
    I entered the value 23.5.2015 or 23.5.15 in a cell but how to change the value to date format(23-05-15) easily.

    • Karthikeyan says:

      Dear all,
      With reference to the above question, I found the answer from your link (Find and replace formula . to /).
      Thanks to Svetlana Cheusheva

  67. Damjan says:

    Dear Svetlana,

    I have downloaded Adwords report in Exel file and in column Average Position where should be the general number, I got a date (for exemple jan.1 instead of 1,1. My problem is that I don't know how to convert date in to a general number. The option formatting doesn't work as I got some number like this 42370... Please help.

    Thank you. Damjan

  68. Damjan says:

    Dear Svetlana,

    How to convert this data in to a general numbers?


    Thank you

  69. Sid says:

    Please help .

    I had few dates in mm/dd/yy format n the new date entered is I. Ddmmyy format how can I make into stander format

  70. Annetta says:

    Go online find the cheap jerseys for football,
    basketball and baseball. And the wholesale hockey jerseys,too.

    More from :cheap nike authentic nfl jerseys

  71. SHIV says:

    HELLO...I have a problem in my excel sheet.

    I have an SCADA system which generate and excel file with some values.

    But problem is that my excel file not showing the date& time format in sequential order that is from old to new order. There is not proper sequence.
    How to fix this problem permanently.

  72. Mark says:

    Good afternoon Svetlana

    Is it possible to convert 01/01/16-31/12/16 in Excel to display as
    1 Jan 16-31 Dec 16 , please?

    Kind regards,


  73. Kim says:

    How would you convert this date?


  74. Maan says:


    I am currently updating my company's Excel files. I wanted to add the day's date in a cell if a project is marked completed. ive' used the following formula: =IF(ISTEXT(U:U), NOW(), ("")). it worked but I am facing a problem. the projects that were marked completed had the date in the cells next to them but the dates keep changing everyday. can you please help me with telling me the right formula to add an unchanging date using IF function?

    Thank you,


  75. Em says:

    when i typed like 01012016 means January 1 2016 the result is 46701020?

  76. Tushank says:


    How do i change date from 6/6/2006
    sixth june two thousand six

  77. shariq says:

    Date is 01-05-2016 i.e. 1 may,2016 but excel sheet is considering it 05/01/2016 i.e 5 Jan, 2016, how can i get my date?

  78. anthony says:

    Can you tell me how to put the days of the week in order when making a chart?

    have a list in SP. Created chart with field (day: which tell what day of week the a date fell on) I made the chart (chart: what days do people stay late at work the most - 180days.

  79. Prakash says:

    Very good article.
    It helped me a lot to understand the error messages for some formula which includes date formates.
    Also, I refer this site for anything in connection with excel.
    Please continue to do this good work.
    All the very best.
    And, thank you very much.

  80. Sushma says:


    How do i change 02/01/2015 00:00:00 to date only?

    I tried text to columns but its not working


  81. Alex says:

    How do I change the date format that displays as: 10/30/2013 12:00:00 AM (it is now all in one cell)? I know how to do text to columns using space and / to separate but it doesn't seem to work. Ultimately I want only the YEAR in one column.

  82. Raiza says:


    How can I change the format of the following dates
    07/01/2016 to 1st of July 2016
    07/02/2016 to 2nd of July 2016
    07/03/2016 to 3rd of July 2016
    07/04/2016 to 4th of July 2016
    and so on? Greatly appreciate your help on this.

  83. Jasvir Singh says:

    Cheers !!! It really helped me out !!!!

    Keep it up !!!

  84. fofo says:

    7/18 - 8/5 in one cell

  85. Louc says:

    I have fields with dates displaying as 20-JAN-2016, for example. The format in the cell is actually 1/20/2014. (The number format of the cell is Custom). I would like to use the formula =MID to create a column to display the month (JAN) but since the format is slashes instead of dashes, it does not work. The fixes I see on this page don't actually change the format in the cell, only the display to dashes. Can you help?

  86. Quek says:

    I have a problem when I enable the date autoformat. When I key in 1/20 or 1-20, the excel autocorrects to 20-01-2016 as per my autoformat setting.
    The problem happens when I key 20/1 or 20-, the date is not autocorrected as a date..

    Please help. Thanks

    • Hi Quek,

      To prevent this from happening, preface the fraction with a zero and a space. For example, instead of 20/1, type 0 20/1. Or, type a space or apostrophe before 1-20, like '1-20. The apostrophe won't be visible in cells, only in the formula bar.

  87. Sanjeev says:

    Hi Svetlana,

    How to convert text (specifically, July 5th 2016) into a date? I tried using Datevalue function etc. I am looking for an answer for any text date where in dates are mentioned in "st", "th" and "nd" format. (e.g. July 5th 2016
    , June 1st 2016 and May 2nd 2016)


  88. salman majid says:


    4/1/2016 i.e. date/month/year how can i change it back to 1-4-2016

  89. Zianca says:

    Hi Svetlana,

    I have a huge data set ranging from 2013 to 2016 and want to sort my data based on months, so have all the Januaries, Februaries, Marches, etc. together regardless of year. Is there a simple way to sort the data such?

    Many thanks.

    • Hi Zianca,

      Here's a simple solution that comes to mind:

      1. In an empty column next to your Dates column, enter the formula to extract a month, e.g. =MONTH(A2)
      2. Apply Excel's AutoFilter and sort by the Month column, from smallest to largest.
      3. Delete or hide the Month column.

  90. Tammy Garrison says:

    I need 3 formulas in excel.

    1. one that does a negative countdown in months for a 3 year time-frame from a list of dates.

    2. one that does a negative countdown in days for a 3 year time-frame from a list of dates.

    3. one that calculates age in terms of years and months from a list of certain dates.

    I have a system using the =DATEDIF command but in Excel 2013, I'm getting errors for the current formulas I'm using. Any help would be greatly appreciated for a non-math, non-Excel wizard.

  91. Sara says:

    I can't find any information on how to have a date range to be recognized as a date.

    For example: September 1-3, 2016

    When I sort multiple dates but there are some date ranges (i.e. September 1-3, 2016) those date ranges sort to the bottom and aren't recognized as an ACTUAL date. How do I get excel to recognize it as a date?

    I tried formatting the cell in multiple different ways including:

    mmmm d-d, yyyy
    mmmm d, yyyy

    But nothing worked. Can you please help? I just need to be able to sort my spreadsheet by date (oldest to newest) and can't if the date ranges aren't being recognized as a date.


  92. same says:

    I have format of date is 03/apr/2015 but i want 03/04/2015 so how can i do ? tell me

  93. Rebat Pal says:

    while copying excel cell into words file , date changes into consolidated /equivalent number, which does not make sense on ordinary reading , how to avoid this change of formatted date into its equivalent integre number

  94. New_User says:

    hi to convert this from "26.08.2016 14:02:55" hh:mm:ss to this format "08/26/2016 14:02:55" mm/dd/yyyy hh:mm:ss in excel... thank you

  95. Mfathima says:


    I have an issue getting the result in "if" function as a date. my formula is =IF(NOT(ISERROR(DATEVALUE(TEXT(A1,"YYYY-MM-DD")))),"YYYY-MM-DD","NULL"). when the result is true I want the formula to give me the result as the actual date as A1. Instead it is giving the result as "YYYY-MM-DD". Please let me know how to fix this issue.

    Thanks Mfathima

  96. Shrirang says:

    Excel date 01/04/2016, while converstion for upload a file to VAT,it changes as 16-/1-4, so error occured in in uploaind to VAT, Plz reply how to format date


  97. joby mathew says:

    how to find the difference between Mar 3 2016 11:54:11 and Mar 2 2016 11:53:55 in hrs

  98. Praveen says:

    HI i have a column containing dates in 2 formats i tried converting them to 1 format using Format cells Date option but it was not successful. Can you please provide me a solution for this.

  99. Dipen Sura says:

    In excel 2016 where we are using the pivot table from base data , how we can change the date formate. e.g. I have used date format 01-09-2016 in base sheet and while creating pivot , date format changed to 01- sep. As I am going to use pivot for H-lookup, its not finding the value. Can anyone suggest solution?

  100. Eileen says:

    I need to format a date to read mmddyyyy with no slashes. Can you help me with this?


  101. Nitin says:

    I am looking to convert 14/09/2016 09:47:06 and 2/9/2016 12:01:21 PM these two date format, listed in single column, to format "dd/mm/yyyy", in separate column.
    I am able to covert second format using functions like TRUC/TEXT etc. but getting error "#VALUE" wherever first format is listed in that column.

    Would appreciate prompt help.

    Nitin Y.

  102. rihanna says:

    i was calculating for days left between two dates but i wanted it to give only the number of days not the month it keeps giving me until number 31 and then goes back to counting from one .if it is left 65 days i wanted it to give me 65 days but it gives me 4 or 3 so any way to fix it in file format dialog box

  103. Dan Malone says:

    How can I change the date format of "07/22/2018" into "2018-07-22"? I have tried right click, format but the slashes wont change into dashes. :/

  104. Marcellin Habimana says:

    I want to change the date format for my data from 10/11/2012 14.30.00 to 10/11/2012 14:30:00
    Thank you in advance

    • Hi Marcellin,

      The easiest way is to use Excel's Find and Replace feature:

      - Select all cells with dates that you want to reformat.
      - Press Ctrl+H to open Find and Replace.
      - Type a dot (.) in the "Find what" box, and colon (:) in "Replace with".
      - Hit Replace All.

      Done :)

  105. srikanth says:

    i want to conver the date formt "20160627T065908.000 GMT to dd/mm/yyy hh:mm:ss
    how can i achive this fuctionality ? please suggest asap

  106. DKS says:

    I have Date data where it contain both type of date string
    26 08 2016
    want to apply and convert it into one format.

  107. gnsh says:

    how to change my default century year in excel...i cant read before 1900 year in poi

  108. Terry says:

    I need to show Century in my date format, but I'm not understanding how to do this. Example:

    Format is CYYMMDD
    Years 2000-2099 C=1
    Years 1900-1999 C=0

    If date is 10/15/2016 on excel spreadsheet must show as: 1161015

    If date is 12/31/2039 on spreadsheet must show as: 1391231

  109. saeed says:

    I need a date and time calculation. For example 11-1-2016 is current date previous date 23-03-1992 is equal to =23 years and 3 months and days 23
    its use for age calculation ,,.
    please help me .

  110. Saurabh says:

    I am trying to write "08 - 16" which denotes "8 to 16" range but it is automatically converting 08 - 16 into August 2016 date format which I dont want. Please help me on how to keep the format intact.

  111. Manish Gupta says:

    Hello Svetlana,

    I have dates in 2 columns and in 1 column when highlighted - I can see same value in both the cell and the formula bar.
    cell - Mon 21-Nov-16 Formula Bar - Mon 21-Nov-16

    but in another cell
    Cell - Mon 21-Nov-16 - Formula Bar - 21-11-2016

    can you please advice whats the difference in both and how to use them either as case 1 and case 2?

    Also, i am interested to know, as to why if the value is taken under case 1, when we add formula of Cell (with date say cell A2) =A2+2 doesn't give me Wed 23-11-2016

    Please help.



  112. Mike T says:

    How do you get the following date to change on every Sunday automatically

  113. Sanjib says:

    How to Convert 01.01.2016 to 01/01/2016 date format

  114. Lisa says:

    i have a column of dates from a program i use, when trying to sort them they sort numerically by date, then alpha by month (so all the 1st are together, then the 2nds, etc....i'd like the actually sorted by date oldest/newest yet i always have to convert them manually (converting column doesn't change/fix anything as it seems to already know it's a date...but won't alter it by formula) is there another simpler way? (i am able to use other columns with the formulas to convert to julian then back to standard date, but this seems tedious and it really seems tedious with the macros i use....TIA.

  115. dave says:

    Hi Svetlana!

    Can you help me convert the date from the following to the ending day of that week:
    16 Wk 28
    16 Wk 29
    16 Wk 30

    I am trying everything but I can't figure it out! Please help as that is the date that comes in from a Pivot table that can't be adjusted :(

    Thank you!

  116. VIVEK says:

    I have two cells one is represent date (dd-mm-yyyy) and another is time (hrs:mm:ss) I have to bring both in one cell and in another cell I have to add 1.30hrs in time to show different, as time change if date changing is possible, please help in this regards

  117. Beka Kukulava says:

    Hello Svetlana

    I'm trying to format this: 20490521 into date (2049 year, May 21). When I format it as a long date format it shows ##################. and wrights me that when dates are negative or too long it is shown with ########.

    How can I solve this?

    Thank you in advance.

  118. Doroth Oz says:

    im trying to put conditional formatting for highlighting cells with the formula in Rule of Conditional formatting, =(TODAY()-$G$2)>7 ,where $G$2 is of date format " 1/18/2017 6:35:45 AM".
    But formula is not working, is that it is returning a data format something like this "1/1/1900 12:47:19 AM".

  119. Khokon says:

    How to ADD below with same format-

    1d,4h,30m,0s (which I get from [=INT(E3-D3)&"d,"&HOUR(E3-D3)&"h,"&MINUTE(E3-D3)&"m,"&SECOND(E3-D3)&"s"]
    2d,8h,30m,0s (which I get from [=INT(E3-D3)&"d,"&HOUR(E3-D3)&"h,"&MINUTE(E3-D3)&"m,"&SECOND(E3-D3)&"s"]

    Please help me...

  120. Nadeem says:

    If i enter a date in MM/DD/YYYY format it automatically change to DD/MM/YYYY format within the date of 1 to 12. if the date after 12, it shows correct format in MM/DD/YYYY format.

    My format Cells has the format as MM/DD/YYYY. I need all the date must show in the format of MM/DD/YYYY.

    Note: I dont want to change my regional language settings.

    Please tell how to fix

  121. XXXX says:


  122. Guna says:

    Hi I need the format of this data (6/25/2010 10:59:09 AM IST)
    which I downloaded as dd-mmm-yyyy. Please give a solution

  123. Deepak Bhatt says:

    Hello...I would like to change only date from 1/1/17 to 31/1/17....When we drag as per instruction..... it is displaying like this

    in my case year change instead of give a solution....

  124. Deepak Bhatt says:

    Hello...I would like to change only date from 1/1/17 to 31/1/17....When we drag as per instruction..... it is displaying like this

    in my case year change instead of date....please give a solution....

  125. Tapan Bhavsar says:

    how to change a value for example 201001 to read as Jan-2010 in excel?

  126. Yunus says:


    I want to convert this 22/12/2016 03:22:39 PM to 22-Dec-2016 how do i do it in excel.

    Any advise is appreciated

    Thanks in advance.

  127. Odile says:

    Thanks for the article and the numerous informations it provides.

    I will just correct one formula :
    =DATEVAL("1/1/2015")& TEMPSVAL("6:00 AM")
    It will not give the right date (january 1st, 2015) but january, 20th, 3050.

    The ampersand has to be changed to a plus sign :
    =DATEVAL("1/1/2015")+ TEMPSVAL("6:00 AM")

  128. ronra says:

    HOw do i change/convert the existing date format 21.02.2017 into 21/02/2017 (in the same cell)?

  129. Frederick says:

    I have consecutive days in a row. Starting form middle January to middle February. When i change the format of the cells to display "Mon, Tue, Wed... Excel return the 1st day of February as "Mon" And not "Wed" as the 31st of Jan is a Tuesday.

  130. kishore says:

    thanks a lot.

  131. Dhar says:

    Hi, may I know how do i convert below date/time to plus 8 hours ahead; and date is changed accordingly? 05 - date, 03 - month

    05-03-2017 4:02:00 AM

    Thank you.

  132. SPA says:

    I have a merged document in Excel with a date column format as
    'mmm dd, yyyy or 'Sep 07, 2017
    and I want to be able to change the entire column format into something recognized in Excel. So I can sort the dates.

    I used to use a plug in called Kutool on Pc - but now I have a Mac and I can't find a way to sort this out.

    Any advice

  133. SAJID KHAN says:

    How we can change the date format, in excel if date is written like 03.11.2017. I want to convert the same entries like 03/11/2017.

  134. Edward says:

    How to convert date in this format

    Example:- 15/05/2012 to 15-05-2012

    Kindly help

  135. Kara says:


    I have the year, for example 1979, but need it to be mm/dd/yyyy and the month and day just need to be 01/01. Example: 01/01/1979. How can I format the cells? When I do it, it doesn't recognize the year as the year so the numbers come out all mixed up.

    Thanks for your help.

  136. Shawn says:


    I would like to use the function =year() and =month() but if i have "1-Feb-17 to 10-Feb-17" in a single cell, the functions will not be able to work. Is there a way to express that date range and yet I am able to use those two functions?


  137. henry says:

    I have a column with date numbers which do not follow a series e,g 1,2,3,6,8,9 meaning some dates are missing intentionally and i want to formart the column to have the dates look like this,1-march-2013 automatically without excel auto corecting the series to eg 1234567 filling the missing dates numbers of dates, is there a way out. please help

  138. Isaac says:

    I am looking to have a spreadsheet given to users. they will need to be able to input a date (mm/dd/yyyy format) into A2, and then, without them knowing how to use autofill, to have cells b2, c2, d2, and e2 populate with the next 4 days (user puts in 1/2/2017, and b2-e2 auto populates 1/3/2017, 1/4/2017,1/5/2017, and 1/6/2017). I know autofill function can do this but I have to assume the end user will not know/remember to do it all the time.

    Thank you for any assistance.

  139. Isaac says:

    Nevermind and thank you, just a simple =a2+1 will solve the issue

  140. Hummayun says:

    i want to change date format in excel sheet.

    from to

    05.05.2016 05/05/2016
    05.01.2016 05-01-2016
    02.01.2016 02-Jan-2016
    05.02.16 05-Feb-2016
    10.02.15 10-Feb-15

    how to change it..?
    any ideas please share..

  141. Hummayun says:

    i want to change date format in excel sheet.





    how to change it..?
    any ideas please share..

  142. Peshiyaboy says:

    Hi Hummayun,

    First select your date range then press ctrl+H and replace . with / hit enter.
    Now press ctrl+shift+3 that's it.

  143. Albert Kitching says:


    I want to change 16/03/2016 (text) to a date format: 2016/03/16

  144. prakash says:

    i m unable to change date format form to mm/dd/yyy
    example --> 21.06.17 i need to change it as 06/21/2017

  145. Hummayun says:

    a couple of days before my "tonumber" formula sheet working perfectly, now today i open that sheet and going to work on it all "tonumber" formulas appear "error". my excel sheet contained a lot of data.please help me how to set "tonumber" formula...........

    Thanks in advance

  146. sabeen says:

    JUL-31-2021 how do i change this in excel. Its format is not being changed

  147. kimlong says:

    Excel date 01/04/2014 I want to change date column new to 20140401

  148. Elin says:

    I'm wanting Excel to automatically add the date to EVERY document I print, without me actually doing it on the print settings. Is there a way to set this up in the default settings under 'Options'

    Thanks in advance

  149. Peter says:

    I have date format and value 01.01.30. When I change format to it gives me 01.01.1930. But I need 01.01.2030. How can I convince Excel to move this boundary line between year 1900/2000 higher than 01.01.30?

    Thanks in advance

  150. Molly says:

    When I change the date to 01-05-1939 and hit save, then i reopen the save document, and it didn't save it to the format i had corrected it to be. It is back to 1-2-1939. I re did it and saved it again and reopened it n it still never saved. Idk why this keeps happening. I even tried '01-05-1939 and still didn't save when i reopened it.

  151. DILIP RAWAT says:

    Unique ID Ledger No. Folio No. Date of Contact. Initial Date of Entry Record Open/Closed Customer Full Name Customer Address First Line Customer Address Second Line City State PIN Code Landmark Customer Phone 1 Customer Phone 2 Customer Email ID Customer DOB Agent Date of Entry Agent Code
    Unique ID Ledger No. Folio No. Date of Contact. Initial Date of Entry Record Open/Closed Customer Full Name Customer Address First Line Customer Address Second Line City State PIN Code Landmark Customer Phone 1 Customer Phone 2 Customer Email ID Customer DOB Agent Date of Entry Agent Code

  152. Joe says:

    I'm looking to create a custom format that starts with 380AEW- after the '-' I need the 2 digit fiscal year starting in october, 2 digit month, and then a sequential number. for example 380AEW-170516, the next could be 380AEW-170617 depending on the month. Any tips would be appreciated.


  153. Bella says:

    i need to sort out some data by day of the week, i did a custom change on the date column e.g from "01/10/16" to "Saturday", now how can i get the date in the formula bar to reflect whats in the sheet below, because it still "01/10/16"??

  154. Undra says:

    Hello, Svetlana.

    Could you please help to change date format from 2016.12.22 12.35 to one in which the time is removed and becomes simply 22.12.16.

    Thank you!

    • Hello, Undra,

      first of all, make sure to enter the date in the default format, which is: 12/22/2016 12:35

      Then, select the cell with this date, press Ctrl+1 to open the Format Cells window and switch to the Custom tab. There, in the Type field, enter the following:
      and click OK

      Voilà :)

  155. srinivas says:

    If already we have a some of Date format and filled in lot of coloumns then how can we convert another date format like Ex: 28.05.2015 it already done by lot of coloumns now we want 28-05-2015 this format. what can i do.

  156. Swann says:


    The problem I’m having is my date column was changed to integers. How do I turn my integers back to dates? I tried all your steps and tips and still no change. But when you click on the cell the integer changes to the date and when I click off the cell the date turns back to an integer. Help please! Also, my computer was upgraded to Microsoft 365.

  157. KOK says:

    it solve my problem.thanks.

  158. Praveen Kumar Singh says:


    if i want to do some change in excel sheet and also want that whatever the last time saved time and date was there it should remain the same. is it possible.
    eg: some has created excel sheet yesterday and while validating i did some mistake and update wrong number in some cell and in next day if i want to change the number again is it possible that i can change the number without any changes in current date and time if i save today??? please help me out in this if possible.

  159. Balamurugan says:

    How to convert date from 1/4/2017 to 1-april-2017 in excel

  160. Hakim says:

    Hi there,

    Previously my 2007 excel showed up Agt-17, and now after upgrading to 2016 it became Agu-17. Since I refresh a lot from my staffs files and they are still using office 2007, I can't get the values from the month of August as mine will be showing Agu-17 and theirs are still in Agt-17.

    Can anyone advice me on how to change the format of the month show up?


  161. Igor Kennaway says:

    I wish to know the SIMPLEST method to change date format from 8/18/2017 to 18/8/2017. The former is confusing since in England it would suggest that the date is the 8th of the 18th month, which is clearly nonsense. I assume this ridiculous format must be imported from the USA and as such, is of no use to me, leading to as much confusion as the present USA President. Please advise.

  162. santosh says:

    when i enter 20/12/2008 as date in excel then it appers as 391204 so what can i do

  163. PRASHANT KUMAR says:


    25-01-2017 TO 01-25-2017

  164. suhas gade says:

    I want this Date (17/03/1988) as 17031988 please give me solution

  165. mannec says:

    I set date format to mmm-yy.
    I entered 9/99. Excel displayed Sep-99 as I expected.
    I entered 6/06. Excel displayed Jun-17. It did the same for all years after 2000.
    I finally figured out that I need to enter 6/2006 (not 6/06) for years after 2000 to get the correct display: Jun-06. Is Excel stuck in the last century/millenium? Is there a way around this -- the need to enter the full 4-digit year?

  166. MichaelNi says:

    How to convert a text string 10-Oct-2017 to a number in excel?

Post a comment

Unfortunately, due to the volume of comments received we cannot guarantee that we will be able to give you a timely response. When posting a question, please be very clear and concise. We thank you for understanding!
Excel add-ins and Outlook tools -
Ultimate Suite for Excel Professionals
60+ professional tools for Excel 2016-2007 to do your daily work
Incredible product, even better tech support…AbleBits totally delivers!
Deborah Bryant
Anyone who works with Excel is sure to find their work made easier
Jackie Lee
The best spent money on software I've ever spent!
Patrick Raugh
Ablebits is a fantastic product - easy to use and so efficient.
Debra Celmer
Excel is at its best now
Annie C.
I don't know how to thank you enough for your Excel add-ins
Jennifer Morningstar
Anybody who experiences it, is bound to love it!
Kumar Nepa
AbleBits suite has really helped me when I was in a crunch!
Nelda Fink
I have enjoyed every bit of it and time am using it
Christian Onyekachi Nwosu
It's the best $100 we've ever spent!
Mike Cavanagh
I love the program, and I can't imagine using Excel without it!
Robert Madsen
One word… WOW!
Dave Brown
Love the products!
David Johnston
It is like having an expert at my shoulder helping me…
Linda Shakespeare
Your software really helps make my job easier
Jeannie C.
Thanks for a terrific product that is worth every single cent!
Dianne Young
I love your product
Brad Gibson
Sheila Blanchard