How to Know if a Date is This Week in Google Sheets!

Learn how to determine if a date falls within the current week in Google Sheets using the WEEKNUM function. This video also covers how to adjust the week start day and apply conditional formatting to highlight dates that are in the current week.

how can we figure out if a date is this week here we have some dates the beginning of the year the 1st 7th are these on the same week let's find out we're going to use a function called week equals num and we're going to reference the cell that the date is in so here's A2 now at the beginning of the year this may seem simple but it actually is a little difficult I'm going to copy paste this down and we see that the first of the year is week number one but there's only four of them because as we notice the fifth is a Sunday that is the start of the next week at the end of this video I'll show you how to switch this maybe you want Monday to be at the beginning of the week so here we have the first and the second and we can say

week num for the second is and week num for the first is one so these two dates are in the same week however for the 7eventh let's copy paste this down it is in the second week that's because it's Tuesday so between the 2nd and the 7th they're on different weeks and we have this week numb that we can compare we can see the 12th is in the third week we can see at a calendar 1st through 4th is in the 1 week 5th through 11th is the second week 12th through 18th but what if we want to change this what if we want to say hey this Sunday should be in the first week we have to add one parameter to our formula we have to add a comma two so so the option is to type and the default is

that it will always have a one here but we can change this to two and let's copy Pace this down and see what happens we see that the fifth is now in the first week so that means we're going from Monday to Sunday as the weeks now this might be much more helpful to you to find out hey are these two dates on the same week because you may not want to include Sunday as this week we might want to say Sunday is last week and if you do want to do that we need change this week num to two there you go so that's how to know if a date is this week we can use this week num in conditional formatting as well compare two dates and say is this this week highlight everything that's this week let's go do that format conditional formatting we're going to select a colon

a and we're going to select custom formula is A1 is equal to week num around today to say are these two weak numbers the same there we go so now this conditional formatting is showing us this week we have said week num around A1 is equal to week num around today and so this will always highlight this week you see these numbers are a little different if we want to add comma 2 here to make sure we're not inclusive of the Sunday this past Sunday there we go so now this will be inclusive of only Monday through next Sunday if we have the 9th here that will also be highlighted there you go that's

to know if a date is this week if you're looking to get more out of your Google Sheets than you ever have before if you're making better Google Sheets you're subscribed here on YouTube to better sheets

Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.