+ Reply to Thread
Results 1 to 4 of 4

formula for a duty rota

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    27

    formula for a duty rota

    The main spreadsheet has rows for days of the year and columns for duties. There are around 15-20 columns.

    Colleagues are allocated duties for that day when their initials are in the cell. One colleague per duty. There are more colleagues than duties so some are not entered each day.

    i would like to do a few things

    1. highlight where i have put someone on for two duties in a day
    2. list which people each day are available (ie. have not be allocated a duty) from a list of initials in some reference cells.

    Date role a b c d e f
    01/01/2018 NJ EM JS NJ PM KJ
    02/01/2018 NJ EM JS NJ PM KJ
    03/01/2018 AM EM JS NJ PM KJ
    04/01/2018 NJ EM JS NJ PM KJ
    05/01/2018 NJ EM JS NJ PM KJ
    06/01/2018
    07/01/2018
    08/01/2018 EM JScr NJ KJ PM
    09/01/2018 EH EM JScr NJ KJ PM
    10/01/2018 AW EM JScr NJ KJ PM
    11/01/2018 EH EM JScr NJ KJ PM
    12/01/2018 EH EM JScr NJ KJ PM
    13/01/2018
    14/01/2018

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,720

    Re: formula for a duty rota

    It would help if you attached a sample Excel workbook, then we can see exactly how your data is laid out.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post. Don't try to use the Paperclip icon (Attachments button), as it doesn't work on this forum.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: formula for a duty rota

    here is sample..........
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: formula for a duty rota

    Regarding highlighting where a person has been assigned a second, third etc. duty for a day:
    1) Select cells B2:I15
    2) Use the following formula as a conditional formatting rule: =AND(B2<>"",COUNTIFS($B2:B2,B2)>1)
    3) Choose a format
    Regarding persons that have not been assigned, no list (i.e. post #1) is shown in the file.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] how do I get my staff rota to add number of staff on duty
    By dougers1 in forum Excel General
    Replies: 2
    Last Post: 07-20-2017, 05:18 AM
  2. Rol over duty time formula
    By jafeth_b18 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2016, 02:36 PM
  3. Replies: 14
    Last Post: 05-23-2015, 06:26 AM
  4. Replies: 0
    Last Post: 04-07-2015, 11:39 PM
  5. [SOLVED] Stamp Duty Formula
    By Elvin Lim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2013, 01:28 AM
  6. Late Duty Rota
    By jamie007 in forum Excel General
    Replies: 0
    Last Post: 05-26-2011, 09:04 AM
  7. How do i make doctor's duty rota in the hospital?
    By dils in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-25-2005, 09:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1