Determining the Name of the Day of the Week

by Allen Wyatt
(last updated January 2, 2014)

You probably already know that you can use the WEEKDAY function to return a numeric representation of the day of the week. For instance, the following returns the weekday number for whatever date is in cell A7:

=weekday(A7)

The numeric value can be helpful, but what you really might want is to have a name for the day of the week, such as Monday, Tuesday, etc. In this case you need to use the TEXT function to find out the answer:

=text(A7, "dddd")

The TEXT function returns a text string that is formatted according to whatever you specify in the second parameter. In this case the parameter is "dddd", which means "give me the full weekday." Provided the value in cell A7 is a real date, the function returns the desired name of the day of the week for that date.

You can get different variations of the day of the week by changing the format string used with the TEXT function. For instance, if you wanted only the three-letter day of the week, you could use the following:

=text(A7, "ddd")

This returns Mon, Tue, Wed, etc. If you make the format string even shorter (such as "d" or "dd") you no longer get days of the week, but instead get numeric days of the month.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Clip Art Sizing Difficulties

A discussion of problems a reader was having resizing clip art in Word.

Discover More

Big File Memory Blues

Excel places limits on how much memory your workbooks can use. Despite these limits, it is possible to create a workbook that ...

Discover More

Adding Diagonal Borders

Want to add a border diagonally, through the middle of a table cell? It's easy if you follow the formatting steps presented ...

Discover More
More DriveTips

Brainstorming with Google

Sheets includes a nifty, undocumented feature that allows you to enlist Google's help in brainstorming. All you need to do is ...

Discover More

Transposing Information in a Sheet

If you want to turn a range of cells by 90 degrees within a spreadsheet, you need to understand how Sheets can handle the ...

Discover More

Saving a Spreadsheet Locally in a Non-Sheets Format

Need to share your spreadsheet with others who may not be using Google Sheets? Here's an easy way to export your spreadsheet ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight minus 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)