How to highlight rows with weekend days in Excel?
Conditional Formatting feature is a very useful and multifunctional tool in Excel, it can help you to deal with many tasks. Today, I will talk about how to highlight weekend’s rows in Excel by using this Conditional Formatting.
|Supposing you have a two given dates, one is start date and another is end date, how can you quickly count the workday, weekend or a specific weekday such as Monday between thses date range? If you are interesed, you can try on Kutools for Excel's Count weekdays/weekends/specific weekday utilities.|
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
You can highlight the rows based on weekend days with the Conditional Formatting as following steps:
1. Select the data range that you want to highlight the weekend rows.
2. Go to Home tab and click Conditional Formatting > New Rule, see screenshot:
3. In the New Formatting Rule dialog box, click Use a formula to determine which cells to format option, and enter this formula =WEEKDAY($C2,2)>5, (C2 is the started date cell in your data range)see screenshot:
4. Then click Format button to open the Format Cells dialog, in the opened dialog box, click Fill tab and choose one color you like to format.
5. And then click OK > OK to close the dialogs, and the rows which the date is Sundays or Saturdays have been highlighted. See screenshot:
1. If you want to highlight the workdays from Monday to Friday, you can apply this formula =WEEKDAY($C2,2)<6 in step 3. (C2 is the started date cell in your data range)
2. In this data range, the formatting will be changed automatically as you modify or add date records.
If you have Kutools for Excel installed, you also can apply its Super Filter utility to quickly filter out the weekend days and then shade the relative rows with the color you want.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
1. Select the range you want to filter, click Enterprise > Super Filter to display the Super Filter pane. See screenshot:
2. Then in the Super Filter pane, specify the criteria as you need, in here case, select Week and Does Not Equal to Weekday to filter weekends. See screenshot:
3. Then click Filter, and only weekend days are displayed. See screenshot:
5. Select the rows of weekend days, and click Home > Fill color to select a color to highlight the rows. See screenshot:
6. Click Clear in the Super Filter pane to expand the range. See screenshot:
Tip: You also can filter days by specific weekday.
You maybe interesed in this:
|In some times, you can have multiple nonstandard dates in your worksheet, and to convert all of them to the standard date mm/dd/yyyy maybe troublesome for you. Here Kutools for Excel's Conver to Date can quickly convert dates to standard date as mm/dd/yyyy format.|
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 6 months agoThanks, there's lots of sites that offer a solution (highlight whole rows according to weekend) but yours was by far the easiest to understand and implement for some who doesn't use Excel formulas all that much!