Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating custom date formatting

From: Excel 2010: Working with Dates and Times

Video: Creating custom date formatting

In addition to the built-in formatting options for formatting dates and times in Excel you also have the ability to create your own custom formatting. Suppose, for example, the data in Column B here, we might want to have the day of the week included here. Let's recognize if we were to right- click here on Column B and choose Format Cells in the Date category under the Number heading here we do have an option that we'll put in the day of the week along with the date. Now that might be more than what we need here.

Creating custom date formatting

In addition to the built-in formatting options for formatting dates and times in Excel you also have the ability to create your own custom formatting. Suppose, for example, the data in Column B here, we might want to have the day of the week included here. Let's recognize if we were to right- click here on Column B and choose Format Cells in the Date category under the Number heading here we do have an option that we'll put in the day of the week along with the date. Now that might be more than what we need here.

If we jump into Custom, that format will be represented here. Now there are some things here we don't want to talk about. We could get pretty far afield looking at some of these other formats, but let's just recognize the use of d's and m's and y's in this display. Let's suppose we do want the day of the week, but maybe we only want a three-letter abbreviation. Three d's will give us a three-letter abbreviation, four d's will spell out the day of the week. If we want the months spelled out, four m's, if want only an abbreviation, three m's.

If you want the day, for example, if it's the 3rd, you want to see a 03, put in dd. You want to see simply a 3, put in d, and of course if it's a 12, this will automatically handle that option. Often you would probably want a four- digit year, but not always. But again use commas in here as you wish. This particular display is going to give us a three-digit day of the week, a three-character month as I put in that third m there, the day of the month, a comma and four digit years.

Adjust the column width, and there we have it. Experimenting with this using m's and ds' and y's. You can come up with quite a few different varieties of how you might display dates. Same sort of thing in Column D as well. And keep in mind too, sometimes all you really want to do is display if it's all within the same year. Use the built-in Date option here. It simply displays, everything except the year. So an example in this case might be just these here. If the heading says 2011, then fine, so that's understood.

But different ways to do this either using the built-in variations or by customizing these using various combinations of m's and d's and y's.

Show transcript

This video is part of

Image for Excel 2010: Working with Dates and Times
Excel 2010: Working with Dates and Times

28 video lessons · 5432 viewers

Dennis Taylor
Author

 
Expand all | Collapse all
  1. 1m 33s
    1. Welcome
      1m 13s
    2. Using the exercise files
      20s
  2. 5m 29s
    1. Understanding how Excel records and stores dates
      3m 56s
    2. Understanding how Excel records and stores times
      1m 33s
  3. 12m 59s
    1. Looking at standard date/time entry options and acceptable alternatives
      2m 51s
    2. Using instant date/time entry
      1m 27s
    3. Using the TODAY and NOW functions for dynamic date/time entry
      3m 4s
    4. Using Auto Fill to enter date and time series
      5m 37s
  4. 6m 17s
    1. Exploring keystroke shortcuts
      1m 45s
    2. Formatting time for hours over 24
      2m 16s
    3. Creating custom date formatting
      2m 16s
  5. 17m 45s
    1. EOMONTH and EDATE: Calculating ends of months and future/past dates
      4m 30s
    2. DATEDIF: Calculating date differences by year, month, day, and more
      4m 17s
    3. WEEKDAY: Determining the day of the week
      1m 49s
    4. NETWORKDAYS: Calculating working days
      2m 26s
    5. WORKDAY: Calculating ending dates
      1m 56s
    6. DATEVALUE and TIMEVALUE: Converting text entries into dates and times
      2m 47s
  6. 21m 9s
    1. Calculating date differences across days, months, and years
      1m 45s
    2. Calculating time differences within and across days
      4m 56s
    3. Calculating fiscal years and quarters
      5m 24s
    4. Rounding time calculations to convenient intervals
      4m 42s
    5. Using times with currency calculations
      2m 44s
    6. Calculating holidays (Labor Day, Thanksgiving, Memorial Day, etc.)
      1m 38s
  7. 15m 18s
    1. Using special date filters with date data
      3m 27s
    2. Using date controls in data validation rules
      5m 41s
    3. Using date functions in data validation rules
      3m 7s
    4. Converting unusually formatted dates into usable data (text to columns)
      3m 3s
  8. 18s
    1. Goodbye
      18s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Excel 2010: Working with Dates and Times.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.