Lab › Dates & Times › Weekday or Weekend?

Weekday or Weekend?: Excel Lab

Lab 30 · BeginnerTEXTWEEKDAYIF

The task: Ten shift dates. Show the day name, say if it is a weekday or weekend, and pay 1,500 for weekend shifts instead of 1,000.

1 Watch how it is done

  1. Step 1: Day name

    =TEXT(A4,"dddd")

    • Click B4.
    • Type =TEXT(A4,"dddd") and press Enter. Four d's give the full day name.
    • Drag the fill handle down.
  2. Step 2: Weekend test

    =IF(WEEKDAY(A4,2)>5,"Weekend","Weekday")

    • Click C4.
    • Type =IF(WEEKDAY(A4,2)>5,"Weekend","Weekday") and press Enter. Type 2 makes Monday 1 and Sunday 7.
    • Drag the fill handle down.
  3. Step 3: Shift pay

    =IF(C4="Weekend",1500,1000)

    • Click D4.
    • Type =IF(C4="Weekend",1500,1000) and press Enter.
    • Drag the fill handle down.

2 Your turn

Download the practice file. It has new numbers. Open it in Excel (or Google Sheets) and do the same steps.

⬇ Download the practice file

3 Check your answers

Stuck? Download the solution file and compare it with yours.

Next lab: Age from Date of Birth →
Want the theory? Read the Dates & Times lessons →
← More Dates & Times labs · All lab categories