How can I make excel highlight a day of every current week

jorgef72

New Member
Joined
Mar 18, 2016
Messages
1
My example, I have a row with dates of every Sunday of each month in a year (only the Sunday), what I am struggling with is when I open the file I would like to using conditional formatting to highlight the Sunday of the current week so that I know which Sunday is coming up.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
My example, I have a row with dates of every Sunday of each month in a year (only the Sunday), what I am struggling with is when I open the file I would like to using conditional formatting to highlight the Sunday of the current week so that I know which Sunday is coming up.

try this

Code:
=AND(YEAR($A1)=YEAR(TODAY()),WEEKNUM($A1,2)=WEEKNUM(TODAY(),2))
 
Upvote 0
Hi,

Set up a helper column as I have done in column B in the example.

Then you can perform conditional formatting based on the value in the helper column



Excel 2012
AB
1DateNext up
207-Feb-16
314-Feb-16
421-Feb-16
528-Feb-16
606-Mar-16
713-Mar-16
820-Mar-16THIS
927-Mar-16
1003-Apr-16
1110-Apr-16
1217-Apr-16
1324-Apr-16
1401-May-16
1508-May-16
1615-May-16
1722-May-16
1829-May-16
19
Sheet1



Excel 2012
B
2 
Sheet1
Cell Formulas
RangeFormula
B2=IF((A2-TODAY())<7,IF((A2-TODAY())>=0,"THIS",""),"")



Hope that helps

Regards........Max
 
Upvote 0
My example, I have a row with dates of every Sunday of each month in a year (only the Sunday), what I am struggling with is when I open the file I would like to using conditional formatting to highlight the Sunday of the current week so that I know which Sunday is coming up.
Welcome to the MrExcel board!

You could also try this Conditional formatting.

Excel Workbook
A
1Date
2Sun 7-Feb-16
3Sun 14-Feb-16
4Sun 21-Feb-16
5Sun 28-Feb-16
6Sun 6-Mar-16
7Sun 13-Mar-16
8Sun 20-Mar-16
9Sun 27-Mar-16
10Sun 3-Apr-16
11Sun 10-Apr-16
12Sun 17-Apr-16
13Sun 24-Apr-16
CF Upcoming Sunday
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A21. / Formula is =A2=MEDIAN(A2,TODAY(),TODAY()+6)Abc
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,246
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top