How to Create Weekly Duty Roster Format in Excel

Let’s take a sample dataset that represents the roster format of a company.

weekly duty roster format excel


Step 1 – Insert Staff Details

  • Insert 3 sub-headers namely: Name, Role, and Rate.
  • Add necessary data under the sub-headers.

Enter Staff Details


Step 2 – Specify the Shift Pattern

  • Put 4 sub-headers in the Shift Pattern section and name them Shift, Start, End, and Hours.
  • Fill them with the correct information.

Specify Shift Pattern


Step 3 – Start Work Scheduling Using the VLOOKUP Function

  • Use the following VLOOKUP formula in cell C5 to import data from another worksheet.

=VLOOKUP(B5,Dataset!$B$6:$D$9,2,0)

  • Press Enter or Tab.
  • The Role of the employee will be fetched from the worksheet.

Start Work Scheduling to create weekly duty roster Using VLOOKUP Function

  • Pull the AutoFill handle down to get other employee roles.

  • Insert the following formula in D5:

=VLOOKUP(B5,Dataset!$B$6:$D$9,3,0)

  • Press Enter.

Start Work Scheduling to create weekly duty roster Using VLOOKUP Function

  • Drag the AutoFill handle down to get the other employee rates.

  • Input the week’s starting date in cell F4.
  • Put the date into a day format.

Start Work Scheduling to create weekly duty roster Using VLOOKUP Function

  • Right-click on F4 and a context menu will pop up.
  • Select Format Cells.

  • The Format Cells menu will open.
  • Select Number then Custom.
  • Choose dddd from the list of types.
  • Click OK.

Start Work Scheduling to create weekly duty roster Using VLOOKUP Function

  • Use the following code in I4:

=F4+1

  • Drag the formula to X4 to get all the weekdays.

  • Use the following VLOOKUP function in F7.

=VLOOKUP(F5,Dataset!$B$13:$E$16,2,0)

Start Work Scheduling Using VLOOKUP Function

  • Copy the formula and paste it under each Start header.

  • In cell G7, insert:

=VLOOKUP(F5,Dataset!$B$13:$E$16,3,0)

Start Work Scheduling Using VLOOKUP Function

  • Copy the formula and paste it under End sub-headers.

  • Use the following formula in cell H7,

=VLOOKUP(F5,Dataset!$B$13:$E$16,4,0)

Start Work Scheduling Using VLOOKUP Function

  • Copy and fill every Hours cell.
  • Do this on all other weekdays except Sundays.

Start Work Scheduling Using VLOOKUP Function


Step 4 – Use the SUM Function to Calculate the Weekly Shift Hours and Pay

  • Use this formula in cell AB5:

=SUM(H7,K7,N7,Q7,T7,W7)

  • Press Enter.

Use SUM Function to Create Weekly Duty Roster Format

  • Drag the cell down to AutoFill.

Use SUM Function to Create Weekly Duty Roster Format

  • Use this formula in AC5,

=D5*AB5

  • Pressing the Tab button will give you the multiplied output of D5 and AB5.

Use SUM Function to Create Weekly Duty Roster Format

  • AutoFill through the column.

Use SUM Function to Create Weekly Duty Roster Format


Step 5 – Apply Conditional Formatting to Set up the Duty Roster

  • Select the cell range B4:Z13.
  • From your Home tab, go to Conditional Formatting, then to Highlight Cells Rules, and select Text that Contains

Set up Duty Roster with Conditional Formatting

  • Type Day Shift and select Green Fill from the box.
  • Hit the OK button to add color to the text.

Set up Duty Roster with Conditional Formatting

  • For the Afternoon Shift, add Yellow Fill in the same box.

  • Add a different color for the Night Shift in the same way.
  • We completed our weekly duty roster.

Read More: How to Create Monthly Duty Roster Format in Excel


Download the Practice Workbook

You can use our practice workbook as a template.


Related Articles


<< Go Back to Roaster Templates | Excel Templates

Get FREE Advanced Excel Exercises with Solutions!
Yousuf Khan
Yousuf Khan

Yousuf Khan has been working with the ExcelDemy project for over one year. He has written 47+ articles for the ExcelDemy site. He also solved a lot of user problems with ExcelDemy Forum. He has interests in Excel & VBA, Desktop and mobile applications, and projects & templates. He completed his graduation and post-graduation in Information Technology from Jahangirnagar University. Currently, he works as a VBA & Excel Content Developer in ExcelDemy projects, writing unique and informative content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo