How to Create a Custom Date Format in Excel?
Last Updated :
03 Jan, 2023
Date formatting is very important when you prepare any set of data, then there are different types of formatting used for different categories, which are different from our normal formatting which is dd/mm/yyyy. When you enter any date in MS-Excel then excel considers it as the default format of date as your computer has, but you can change their format in numerous ways, and also you can make your own custom format of a date. Such as 14-Dec, December 14, 2023, 14/12/2023, and may more depending on individual choices, you can change it.
Here we are going to show the different ways to format a Date. Let's understand it in a better way by taking an example,
Step 1: Open MS Excel and save with any name. Here we are going to save it by "Date Format" name.
Step 2: Take any date, like here we are taking 15/04/2001, which is in the format of mm-dd-yyyy and also it is the normal format of a date.
Step 3: You can change the format by selecting that particular date cell, and press ctrl+1, then a new "format cells" window will open.
From this format window, you can choose date formatting according to your needs. If you want that date to be on 15 April 2001 format, then choose dd month yyyy from the format cell.
There are different examples of date formatting, here we are going to show you some of them.
Example 1: If you want to format the date in the dd-m-yy format then choose that option from the format cell., like shown in the below-mentioned image.
Here you can see the outcome i.e.,15-4-01.
Example 2: If you want to format the date in dd.m.yy format, then choose the option which is shown in mentioned below image.
Here you can see the outcome i.e.,15.4.01.
Example 3: If you want to format the date in Day, dd month, yyyy then choose the option from Format cell shown in the below-mentioned image.
Here we can see it shows day and date as well i.e., Sunday, 15 April, 2001.
Custom formatting on dates
So, here we are done with all the pre-defined formatting which are present in excel, but now we will learn Custom formatting on dates, in which we can make our own format also.
For "Custom Formatting". Select the date. Press ctrl + 1. Choose "Custom" option. Write your own formatting in "Type" option. Then press OK.
Suppose here in custom formatting, we want to format the date in "dd-mm-yyyy-dd-mm" format now the date comes in that format only.
So here you can see the date is in dd-mm-yyyy-dd-mm format i.e.,15-04-2001-15-04.
Similar Reads
How to Change Date Format in Excel You know that Excel is one of the best spreadsheets you can work on. Excel is the first preference of many users to create an impressive data set. Have you tried filling in the Date on the sheet? Date with the data is a common practice done by users in Excel to get information timeline. To help orga
8 min read
How to Build an Automatic Gantt Chart in Excel? Gantt Chart is the most commonly used chart in project management. The more general definition of the Gantt chart is that it helps to keep track of the activities against time. Anything plotted against time can be represented in the form of a Gantt chart. For example, a team manager has given differ
5 min read
How to Calculate End Date from Start Date and Duration in Excel? Excel is a powerful data visualization and analysis software, which uses spreadsheets for managing, storing, and visualizing a large amount of data. A cell, a rectangular block is used to store each unit of data. This tool can be used to visualize trends or compare data by creating graphs, or get in
2 min read
How to Change Date Format in jQuery UI DatePicker ? In this article, we are going to learn about the Datepicker in jQuery. jQuery is the fastest and lightweight JavaScript library that is used to simplify the interactions between an HTML/CSS document, or more precisely the Document Object Model (DOM), and JavaScript. jQuery is widely famous for its m
2 min read
How to Convert Text to Date in Excel Have you ever found yourself staring at a column of dates in Excel, only to realize theyâre formatted as text? It's a common problem that can hinder your data analysis and reporting tasks. Fortunately, converting text to date in Excel is straightforward. If you're looking to use the Text to Columns
5 min read
Custom Excel Number Format MS Excel is a very important tool for businesses as well as for individuals with very useful features and tools. It is a market leader in spreadsheet editing and managing software. MS Excel contains many inbuilt number formats that can be used as per the needs of the user, however, sometimes users m
2 min read
How to Address format Error in R The format() function is an important tool for data transformation and presentation in the world of R Programming Language. Nevertheless, mistakes might happen to users during formatting. in this article, we will handle those errors. Cause of the ErrorThis article aims to explain common causes of er
2 min read
How To Convert Date To Number String Or Text Format In Excel? Excel's built-in date system by default supports dates between January 1, 1900, and December 31, 9999. In this range, the numbers start at 1 and increase by 1 each time. In addition to text and numeric data types, Excel also allows dates that are internally stored as serial numbers. In Excel, the da
4 min read
Excel Date and Time Formats With Examples Excel stores dates as serial numbers and times as fractional values of a day, which means what you see on the surface is often just a formatted version of something else entirely. If you're not familiar with how Excel handles these values, your data might display incorrectly or unexpected results in
4 min read
How to Format a Date in PostgreSQL PostgreSQL provides powerful tools to format dates into different styles and patterns using functions like TO_CHAR(). Formatting dates in PostgreSQL is important when we need to present data in a more readable or application-friendly way. This article will explain how to format a date in PostgreSQL
4 min read