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.|
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
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.|