How to Sort Date by Day of Week in Excel

Except sort data by “A to Z” (alphabetical order, for numbers from small to large), we can also sort data by date, month or year if these conditions are given. In this article, we will show you the way to sort data by day of week.



In the left table, sales are sorted by date. Now, we want to sort them by day of week, see the table on the right side for example. Obviously, we cannot sort them just by clicking “Sort A to Z”, in this way day of week values will be sorted by alphabetical order. To sort data by proper order as we expected, we can create a customer list with the help of Sort->Custom List function.


Excel Sort module provides several sorting rules for users to sort data. Except normal “A to Z” or “Z to A”, it also provides orders like by month or by day of week. Users can also create custom list depends on requirement.


a. Select table A2:C15 ignoring the headers, click Data in the ribbon, click Sort button in Sort & Filter section.

b. Sort dialog pops up. In Column sort by dropdown list, select column “Day of Week”. Select the column you want to sort by in this step, as we want to sort data by day of week column, so we select it.

Keep Sort On selection unchanged, in Order dropdown list, select “Custom List”.

c. After selecting “Custom List”, “Custom Lists” dialog pops up. In Custom lists panel, select “Sunday, Monday…”, then day of week values are listed in the right panel with expected order, they are sorted from Sunday to Saturday.

d. Click OK on this dialog. We return to Sort dialog. Now in Order dropdown list, order “Sunday, Monday, Tuesday…” is displayed. Click OK to apply this setting for the selected table.

e. Now sales are sorted by day of week properly. The same values of day of week are grouped.


1. If we select day of week abbreviations like “Sun, Mon, Tue…” in “Custom lists” to sort data, data is sorted improperly, Friday is listed on top.

2. If selected range with headers included, we need to check on “My data has headers” when applying sorting settings. See screenshot below. This option is checked by default.

3. If you want to sort day of week by another order, for example from Monday to Sunday, you can just enter a new list in “List entries” panel. Enter “Monday” as the first entry, press Enter to separate list entries.

After creating your list, click Add button to add the new list to custom list. Then you can sort values by this new list properly.


Related Posts

Calculate Years Between Dates In Ms Excel

If you are an avid Ms Excel user, then you might have come across a task in which you needed to calculate the years between the dates; you might take it easy and do this task manually, which is also ...

Calculate Number of Hours between Two Times

Calculating the difference between two times might be a valuable statistic for subsequent computations or averages, whether you're producing a time sheet for staff or recording personal exercises. While Excel has a plethora of complex functions, including date and time ...

Calculate Loan Interest in Given Year

When you borrow money, you are supposed to repay it gradually. Lenders, on the other hand, want to be compensated for their services and the risk they incur by lending you money. That is, you will not just repay the ...

Calculate Interest Rate for Loan

The interest rate is the fee charged by a lender to a borrower and is expressed as a percentage of the principal—the lent amount. The interest rate on a loan is often expressed as an annual percentage rate, abbreviated as ...

Calculate Interest for Given Period

Using the IPMT function in Excel, we can compute the interest payment on any loan. This step-by-step tutorial will guide Excel users of all skill levels through the process to calculate interest for given period. Finally, the formula: =IPMT(B3/12,1,B5,-B2) The ...

How To Use Excel GCD Function

This post will guide you how to use Excel GCD function with syntax and examples in Microsoft excel. Description The Excel GCD function Returns the greatest common divisor of two or more integers. So you can use the GCD function ...

Calculate A Ratio From Two Numbers In Excel

In elementary mathematics, a ratio is a connection or comparison between two or more integers. For example, ratios are often expressed as ":" to demonstrate the relationship between two numbers. You would think that manually calculating a ratio from two ...

How To Use Excel RRI Function

This post will guide you how to use Excel RRI function with syntax and examples in Microsoft excel. Description The Excel RRI function Returns an equivalent interest rate for the growth of an investment. So you can use the RRI ...

CAGR Formula Examples in Excel

CAGR in Excel is a formula that calculates the compound annual growth rate for any invested amount over the specified years or timeframe. Although there is no direct function in Excel that can help us identify the CAGR value, there ...

Build Hyperlink With VLOOKUP in Excel

You might have come across a task in which you were assigned to build hyperlinks, which seems very easy, and if you are new to excel or don't have enough experience with it, then you might wonder about doing this ...