Returns TRUE if a date falls on Saturday or Sunday
=WEEKDAY(date, 2)>5This function checks whether a date occurs on a weekend (Saturday or Sunday). It's useful for schedules, planning sheets, reporting, and any workflow where weekends should be treated differently from weekdays. For example, if A2 contains "2026-01-10" then =IS_WEEKEND(A2) returns TRUE, and if A3 contains "2026-01-12" then =IS_WEEKEND(A3) returns FALSE.
Use the inputs below to create IS_WEEKEND as a reusable custom function in Google Sheets.
Learn how to add custom functions to Google SheetsIS_WEEKEND
Returns TRUE if a date falls on Saturday or Sunday
=WEEKDAY(date, 2)>5
date
Date to evaluate
A2
Other functions in the same category: Date & Time Operations
Returns TRUE if a date falls on Monday through Friday
Determine if a date falls within a start and end date
Returns TRUE if two date ranges overlap
Return the next date that matches a weekday number
Checks if the day and month of a date fall within a date range
Return the previous date that matches a weekday number
Named functions enable the creation of custom, reusable formulas that mimic built-in functions, streamlining calculations and data manipulations. These functions simplify complex formulas, making spreadsheets more readable and less prone to errors. By encapsulating intricate logic within a single function call, they enhance consistency across your data. Utilizing named functions reduces the need to write lengthy formulas repeatedly, thereby improving workflow efficiency and productivity in data analysis and management.
Download and import — fastest way to add the function but does not include argument descriptions and examples
Follow these simple steps to download and import a function into your spreadsheet. This method is the quickest and easiest way to add the named function to your Google Sheets document, but will not include the argument description and examples.
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.
Copy and paste — copy and paste each property one at a time
Follow these simple steps to integrate a custom named function into your spreadsheet:
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.