+ Reply to Thread
Results 1 to 4 of 4

Rotating List with a Twist

  1. #1
    Registered User
    Join Date
    10-27-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    2

    Rotating List with a Twist

    I need to make a rotating list of available doctors that are selectable in a drop down in a cell. These doctors are assigned patients in ABC order.

    So our doctors are Adoc, Bdoc, Cdoc, Ddoc.

    Patient comes in, the drop down shows that they should go to Adoc (shown at top of list, followed by Bdoc, Cdoc, etc).
    Patient comes in, the drop down shows that they should go to Bdoc. (shown at top of list, followed by Cdoc, Ddoc, etc).
    Patient comes in, the drop down shows that they should go to Cdoc. (shown at top of list, followed by Ddoc, Adoc, Bdoc, etc).
    Patient comes in, the drop down shows that they should go to Ddoc.
    Patient comes in, the drop down shows that they should go to Adoc.
    Patient comes in, the drop down shows that they should go to Bdoc.
    .
    .
    etc.

    The twist: If Bdoc is off (vacation), they don't count in the rotation. So the previous scenario goes:

    Patient comes in, the drop down shows that they should go to Adoc. (shown at top of list, followed by Cdoc, Ddoc, etc).
    Patient comes in, the drop down shows that they should go to Cdoc. (shown at top of list, followed by Ddoc, Adoc, etc).
    Patient comes in, the drop down shows that they should go to Ddoc. (shown at top of list, followed by Adoc, Cdoc, etc).
    Patient comes in, the drop down shows that they should go to Adoc.
    Patient comes in, the drop down shows that they should go to Cdoc.
    Patient comes in, the drop down shows that they should go to Ddoc.

    I hope that makes sense, I've got a simple rotating list going, but having trouble with the "twist".

    Thanks!

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Rotating List with a Twist

    Hi Code_ and welcome to the forum.

    I've got a simple rotating list going, but having trouble with the "twist".
    Perhaps this will give you a start.

    The drop downs in column C are single choice. To restore to No leave status just hit delete.

    All Docs is the default staffing.

    Column A has current staffing absent "On leave" docs. It is an array formula entered in A2 and filled down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Play with the "On leave" status drop downs and watch the changes in "Staffing".

    Will this work with your rotating list?


    Row\Col
    A
    B
    C
    1
    Staffing
    All Docs
    On leave
    2
    Adoc Adoc
    3
    Cdoc Bdoc On leave
    4
    Ddoc Cdoc
    5
    Ddoc
    Attached Files Attached Files
    Last edited by FlameRetired; 10-27-2016 at 10:02 PM.
    Dave

  3. #3
    Registered User
    Join Date
    10-27-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    2

    Re: Rotating List with a Twist

    Awesome, thank you for the reply! I'll dive in to this and see where I get.

    This is exactly what I needed, perfect! Thank you very much.
    Last edited by Code_; 10-28-2016 at 11:20 AM.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Rotating List with a Twist

    You are welcome. Thank you for the feedback and the rep.

+ 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. Rotating staff list
    By glasgowok in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2016, 02:44 AM
  2. Rotating list of duties on a 6 day on 2 day off schedule
    By Tjv323 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-29-2015, 09:33 PM
  3. Rotating Seniority List
    By SapperT in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-30-2015, 10:09 AM
  4. Rotating overtime list
    By infernoboy93 in forum Excel General
    Replies: 1
    Last Post: 11-27-2014, 12:48 AM
  5. Rotating List Help
    By cay794 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2014, 10:35 AM
  6. Rotating Roster List
    By specialkmp in forum Excel General
    Replies: 1
    Last Post: 09-08-2012, 05:45 AM
  7. Overtime Rotating Seniority list.
    By duefs in forum Excel General
    Replies: 7
    Last Post: 07-25-2012, 11:17 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