Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets WEEKDAY Function: How to Use It

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

There is no single command called "weekday" that fills in day names for you. What Google Sheets offers is the WEEKDAY function, which turns any date into a number from 1 to 7 so you can tell which day of the week it falls on. Typed as =WEEKDAY(A2), it returns 1 for Sunday and 7 for Saturday by default, and you can change that numbering with a second argument. If you want the actual name ("Monday") rather than a number, you combine WEEKDAY with CHOOSE, or you format the date cell to show the day name directly. The steps below cover all three approaches.

What You'll Need

  • A Google account with access to Google Sheets in a browser (sheets.google.com) or the Google Sheets mobile app.
  • A sheet containing at least one date you want to evaluate. Dates must be real date values, not text that merely looks like a date.
  • Basic comfort with typing a formula into a cell and pressing Enter.

Step-by-Step

  1. Open your spreadsheet. Go to sheets.google.com, open the file from Google Drive, or open the Sheet from the app's file list on your phone or tablet. Menu names and button positions can differ slightly between the desktop version, the mobile app and different regions, but the formulas behave identically.
  2. Check that your dates are genuine dates. Click a cell holding a date. If the formula bar shows something like 12/04/2026 as a date value, you are fine. If it shows an apostrophe before it or the text is left-aligned by default, Sheets is treating it as plain text and WEEKDAY will return an error. To fix it, retype the date in a format Sheets recognises (for example 2026-12-04) or convert the text with =DATEVALUE(A2).
  3. Pick an empty cell for the result. Leave at least one column free to the right of your dates for the day number. For example, put the first result in B2 if your dates start in A2.
  4. Type the basic formula. Enter =WEEKDAY(A2) and press Enter. The cell now shows a number: 1 for Sunday, 2 for Monday, and so on through 7 for Saturday. This default numbering is useful when you want to sort by day of week or feed the result into another formula.
  5. Choose a different numbering if you prefer Monday first. Add a second argument: =WEEKDAY(A2, 2) returns 1 for Monday through 7 for Sunday. Use =WEEKDAY(A2, 3) to get 0 for Monday through 6 for Sunday. The type argument is a small whole number from 1 to 3, and each one shifts where the week starts.
  6. Turn the number into a day name. Wrap it in CHOOSE: =CHOOSE(WEEKDAY(A2),"Sun","Mon","Tue","Wed","Thu","Fri","Sat"). The order of the text values must match the numbering WEEKDAY returns, so keep Sunday first if you are using the default type. If you switch to type 2, reorder the list to start with Monday, otherwise every day will be labelled one position off.
  7. Fill the formula down the column. Select the cell with your formula, grab the small fill handle at its bottom-right corner and drag down, or double-click the handle to fill to the end of the adjacent data automatically. Sheets adjusts the cell references for each row, so A2 becomes A3, A4 and so on.
  8. Or skip formulas and just show the day name. If all you want is to see "Friday" instead of a full date, select the date cells and use Format > Number > Custom date and time, then choose or build a format that includes the day name. This changes only how the date looks; the underlying value stays a date, which is safer for sorting and calculations.
  9. Use a shortcut for weekend detection. To flag Saturdays and Sundays, write =IF(WEEKDAY(A2,2)>5,"Weekend","Weekday"). This returns "Weekend" for Saturday and Sunday and "Weekday" for Monday through Friday, which is handy for schedules, delivery estimates and timesheet checks.
  10. Test the result against a known date. If you know 4 December 2026 is a Friday, enter it and confirm the formula returns 6 with the default type or 5 with type 2. That single check catches most numbering mistakes before they spread across a whole column.

Common Mistakes

Mismatched CHOOSE order. The most frequent error is pairing a type-2 WEEKDAY with a Sunday-first name list. The formula still returns a value, so nothing looks broken, but every label is wrong. Decide which numbering you are using and keep the text list in exactly that order.

Dates stored as text. Dates pasted from other systems, exported from CSV files or entered with inconsistent separators often arrive as text. WEEKDAY then returns a #VALUE! error. LEFT-aligned dates are the giveaway, since real date values align right by default.

Assuming WEEKDAY returns a name. It returns a number. If a cell shows 3 and you expected "Tuesday", that is correct behaviour, not a bug.

Forgetting the date argument for TODAY. To get today's weekday, use =WEEKDAY(TODAY()), with the empty parentheses. Typing TODAY without them produces an error.

Tips

Use custom date formatting when you only need to display day names; it is faster than formulas and leaves the data clean. Reserve formulas for cases where you need the day as a value to sort, filter or compare.

Edge cases exist: some older spreadsheet conventions counted weekdays only and returned 0 for Sunday, but Google Sheets follows the 1-7 or 0-6 patterns described above, so read any copied formula carefully before trusting it.

If your sheet is shared, add a short note in a header cell explaining which numbering you used, for example "1 = Monday". It saves the next editor from guessing and quietly breaking the CHOOSE list.

Combine WEEKDAY with COUNTIF to count how many entries fall on each day, and with conditional formatting to shade weekends automatically. Both work on the numeric output, so you never need to convert to text first.

Troubleshooting

The formula shows #VALUE!. The cell you reference is text, not a date. Check the formula bar and re-enter the date, or wrap it in DATEVALUE. If the text includes a time or trailing spaces, clean it with TRIM first.

The formula shows #NAME?. Usually a misspelled function name or a missing quote mark in the CHOOSE list. Check that every text value is in double quotes and that WEEKDAY is spelled in full.

The formula shows #N/A. This comes from CHOOSE being asked for a position outside its list. It happens when WEEKDAY returns 7 but your list contains only six names, or when a type argument produces an unexpected number.

Every row shows the same day. The reference was not allowed to adjust. If you typed $A$2 with dollar signs, every row points at the same cell. Change it to a relative reference like A2 and fill down again.

Your locale shows a different day order. Day-name lists built by hand do not translate. If the sheet is shared across regions, keep the day names in English, or use the date-format method so Sheets handles localisation for you.

If none of these resolve it, copy the formula into a brand-new blank sheet with a single hard-typed date to isolate whether the problem is the formula or the data.

Frequently Asked Questions

Does Google Sheets have a WEEKDAY command separate from the function?

No. WEEKDAY is a function you type into a cell, such as =WEEKDAY(A2). There is no menu item or command palette entry that does the same job.

How do I change WEEKDAY so Monday is 1?

Add the type argument: =WEEKDAY(A2,2). That returns 1 for Monday through 7 for Sunday.

Can WEEKDAY return the day name instead of a number?

Not on its own. Wrap it in CHOOSE with a list of names, or apply a custom date format to show the name without a formula.

Why does WEEKDAY return 7 for a Sunday?

That happens with type 3, where Monday is 0 and Sunday is 6, or in a list where the position is misaligned. Check which type argument you used.

Does WEEKDAY work with dates entered as text?

No. It needs a real date value. Convert text dates with DATEVALUE or re-enter them in a recognised format.