Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

calculating weekdays

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Calculating weekdays

Calculating weekdays

ResolvedVersion 2010

Lucy has attended:
Excel Intermediate course
Excel Advanced course

Calculating weekdays

Hi there

Had an excellent training session but unfortunately have forgotten one of the most important bits!

I have a column of dates and next to it a column with the corresponding day of the week.

I've been able to create a column that displays the weekday but it also has a strange date next to it (1900s) using this formula:

=WEEKDAY([@Date])

Can someone remind me of the formula I need to use to display a weekday in a separate column to the date please

Thanks

RE: Calculating weekdays

To return the weekday of any date in Excel we can use the WEEKDAY formula. The day is given as an whole number, ranging from 1 (Sunday) to 7 (Saturday), by default.

The formula syntax for the WEEKDAY formula is;

WEEKDAY(serial_number,return_type)

Serial_num is any valid date. See how Excel stores dates & times .
Return_type is a number (between 1 and 3) that determines the type of return value. 1, or omitted = 1 (Sunday) through 7 (Saturday). 2 = 1 (Monday) through 7 (Sunday). 3 = 0 (Monday) through 6 (Sunday).

An example of WEEKNUM formula is as shown below

=WEEKDAY(A1)/WEEKDAY(A1,1)

RE: Calculating weekdays

Hi

Thanks very much for replying. Using the above I can get the numerical value but I now need to turn this into the weekday in words, which I can't seem to do with the above information.

Are you able to help with this please?

(I should point out I am only a beginner/intermidiate user of Excel so if you could possibly explain it in laymen's terms that would be great!)

Many Thanks

RE: Calculating weekdays

I would do the following;

lets say you have 20/01/12 in A1 and you want "Friday" in B1. (is that what you want to do?)

in this case go to B1, enter the formula =A1. Then format B1 from the "Numbers tab" in "format cells" (right click to get the format cells option), choose custom and manually enter DDDD.

Let me know if you have any issues.

RE: Calculating weekdays

It worked!

That's brilliant! Thanks very much for your help

Kind Regards

Lucy

Excel tip:

Return to the active cell after scrolling

When I scroll a long way down the screen from a selected cell, I can return to that cell with the Ctrl+Back Space shortcut. The active cell now appears in roughly the middle of the screen.

Shift+Back Space does something similar. Scroll down from the active cell and Shift+Back Space returns me to it and puts the active cell at the top of the screen; scroll up from the active cell and Shift+Back Space returns me to it and puts the active cell at the bottom of the screen.

Note also, that while Ctrl+Back Space will return me back to a selected range, Shift+Back Space only ever returns me to the active cell, which is normally at the top left-hand corner of any selected range.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.