Conditional Formating Current Week??

The Jackal

New Member
Joined
May 30, 2018
Messages
14
Hi,

I have searched for this answer but can't find a solution. I am using conditional formatting to highlight the current 7 days but it highlights Sunday to Saturday. I am in the uk and generally we start the week on Monday. Is there a way I can highlight the week starting on a Monday without adding another column with a load of numbers in it?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello! If you use the WEEKDAY function, then the second argument to this function determines what day the week starts on.
=WEEKDAY(10.11.2024;2). "2" means the week starts on Monday.
 
Upvote 0
I think you may want to use the WEEKNUM function, which returns the week number to see if your date has the same week number as the current date.
Note that you can specify the start of the work week with the second argument in that function.
See: WEEKNUM function - Microsoft Support
 
Upvote 0
As Joe4 has stated, try weeknum. For Monday to Sunday try...

Book1
A
1Tue 01/10/2024
2Wed 02/10/2024
3Thu 03/10/2024
4Fri 04/10/2024
5Sat 05/10/2024
6Sun 06/10/2024
7Mon 07/10/2024
8Tue 08/10/2024
9Wed 09/10/2024
10Thu 10/10/2024
11Fri 11/10/2024
12Sat 12/10/2024
13Sun 13/10/2024
14Mon 14/10/2024
15Tue 15/10/2024
16Wed 16/10/2024
17Thu 17/10/2024
18Fri 18/10/2024
19Sat 19/10/2024
20Sun 20/10/2024
21Mon 21/10/2024
22Tue 22/10/2024
23Wed 23/10/2024
24Thu 24/10/2024
25Fri 25/10/2024
26Sat 26/10/2024
27Sun 27/10/2024
28Mon 28/10/2024
29Tue 29/10/2024
30Wed 30/10/2024
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A30Expression=WEEKNUM(A1,2)=WEEKNUM(TODAY(),2)textNO
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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