How to highlight the date of current day / week / month in Excel?
In Excel, can you highlight the current day, week or month date in your data range automatically? By Default, Excel provides Conditional Formatting feature to help you solve this task, how could you apply this Conditional Formatting?
Highlight the date of current day /week /month cell with Conditional Formatting
Highlight the date of current day /week /month row with Conditional Formatting
Highlight the date of current day /week /month cell with Conditional Formatting
If you just need to highlight the cell of current day, week or month, you can do it with following these easy steps:
1. Select the data range that you want to highlight the specific date.
2. Click Home > Highlight Cells Rules > A Date Occurring, see screenshot:
3. And in the A Date Occurring dialog box, from the first drop down list, choose your date that you want to highlight, and in the second drop down list to choose one color that you like to format the certain date, see screenshot:
4. Then click OK, the cell of today’s date has been highlighted as following screenshot shown:
Highlight the date of current day /week /month row with Conditional Formatting
With the above method, you just only can highlight the cell of the specific date, if you need to highlight the entire row or row of selection, you need to use some formulas in the Conditional Formatting rule.
1. Select the data range or entire rows of data which excluding the headers if your data have.
2. Click Home > Conditional Formatting > New Rule, see screenshot:
3. And then in the New Formatting Rule dialog, click Use a formula to determine which cells to format option, then enter this formula =today()-weekday(today(), 3)=$A2-weekday($A2, 3) into the Format values where this formulas is true field to highlight the current week date.(A2 indicates the first date cell that you used, you can replace it with your need) See screenshot:
Tip: To highlight today’s date, apply this formula: =$A2=TODAY();
To highlight current month date, enter this formula: =TEXT($A2,"mmyy")=TEXT(TODAY(),"mmyy").
4. After typing the formula, then click Format button, in the Format Cells dialog, choose one color that you like under Fill tab.
5. Then click OK > OK to close the dialogs. And the rows which contain the date of current week have been formatted. See screenshot:
Note: In this data range, the formatting will be changed automatically when you modify or add date records.
Related articles:
How to highlight rows with weekend days in Excel?
How to make birthday reminder in Excel?
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!