Formulyo

Excel + Google Sheets · Highlight weekends

Make weekends pop out

WEEKDAY with 2 counts Monday as 1, so 6 and 7 are the weekend.

The formula

=WEEKDAY($A2, 2)>5

What each part means

Example

Home → Conditional formatting → New rule → Use a formula

Before
AB
1DateShift
2Fri Nov 6Laura
3Sat Nov 7João
4Sun Nov 8Priya
5Mon Nov 9Tom
6Tue Nov 10Ana
After
AB
1DateShift
2Fri Nov 6Laura
3Sat Nov 7João
4Sun Nov 8Priya
5Mon Nov 9Tom
6Tue Nov 10Ana

Step by step

  1. Select the data, from row 2 down.
  2. Go to Home → Conditional formatting → New rule → Use a formula.
  3. Paste the formula: =WEEKDAY($A2, 2)>5
  4. Click Format, pick a fill colour and press OK.

In Google Sheets: Format → Conditional formatting → Custom formula is.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning