+ Reply to Thread
Results 1 to 22 of 22

help with verify scheduling

  1. #1
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    help with verify scheduling

    Hello

    I am in charge of creating the schedule for my department. I have attached a template here.

    as you can see I use initials and quite often probably just because of my incompetency I tend to forget to put someone down on the schedule.

    How can I build a check or macro to ensure that I have accounted for everyone at work

    thank you in advance
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    for more clarification and as an example in the attached template I am missing "A" on Dec 1 and "M" on Dec 8th

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    Where would A and M be assigned on those days ?

    What is the logic/pattern for assignments ? Some days are missing individuals and they are not listed as OFF.
    Last edited by Logit; 11-26-2017 at 10:53 PM.

  4. #4
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    Ah, so I intentionally left a few folks out as I was trying different ways to see how to create a formula or macro that would alert me to their absence.

    It's pretty simple - if you are not off or not on call then you need to be covering one of the services. So A or M in this case needs to be assigned to a service on the respective days.

    I am not looking for help with assignments. I am only looking to make sure that all my people are accounted for each day. All I need is a pass (all names accounted) or fail (someone missing- so I can take a second look and figure out who is missing). I seem to be terrible at making sure I have all initials covered for each day. I have even resorted to writing them down on a piece of paper and scratching off each name as I schedule them for each day.

    Hope this explanation helps

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    I can provide a solution but it will require partially changing your roster layout.

    First: need to have a list of ALL employee abbreviations. A, K, H, TA, VK, etc. etc.

    Second: some modalities have the possibility of assigning more than one technologist to that area. Say for example FLUORO could possibly have 3 technologists assigned on a given day.
    Rather than have one row for FLUORO, I need you to change that to three separate rows for FLUORO. Look at the other modalities and do the same for each. If MAMMO could possibly have two
    technologsits assigned, give MAMMO two rows ... the same for the other modalities as well. The formula solution needs to have each technologist displayed on a separate row, rather than combining
    several technologists as you presently have ( ECS/V ... P/ECS/JH ... M/JH ... etc.).


    Here is an example of what I mean :


    A
    B
    C
    D
    E
    F
    G
    H
    4
    MON
    TUE
    WED
    THUR
    FRI
    SAT
    SUN
    5
    27-Nov
    28-Nov
    29-Nov
    30-Nov
    1-Dec
    2-Dec
    3-Dec
    6
    OFF
    -
    NA
    NA
    NA
    NA
    7
    OFF
    VK
    8
    OFF
    9
    OFF
    10
    OFF
    11
    12
    Body CT
    TA
    G
    P
    A
    M
    13
    Neuro
    K
    K
    K
    K
    K
    14
    Neuro Supp.
    JH
    ./.
    ./.
    JH
    ./.
    15
    Body MRI
    VK
    V
    H
    H
    V
    16
    MSK MRI
    H
    VK
    H
    H
    V
    17
    Ultrasound
    G
    JH
    VK
    P
    JH
    18
    Fluoro
    ./.
    ECS
    VK
    A
    ECS
    19
    Fluoro
    V
    20
    Fluoro
    TA
    21
    PET/CT
    A
    22
    IR
    23
    Swing Shift 10-18h
    24
    Swing Shift 4-8 PM
    25
    ON CALL RAD
    M
    M
    M
    M
    P
    P
    P

  6. #6
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    Ok great that's fine... I can do that

    1) all 12 employee initials: V, H, M, G, VK, ECS, K, JH, NA, A, P, TA

    2) only need two rows for General Reading, I already have two for Neuro - rest I can manage with just one entry

    thank you
    neel

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    See if the attached works for you. Basically all CONDITIONAL FORMATTING.
    Attached Files Attached Files
    Last edited by Logit; 11-27-2017 at 05:07 PM.

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    Thank you for your service to our Veterans !

  9. #9
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    that's great...I see how you used the countif function...one point in time I could do these simple tasks in excel but have since lost those skills.

    Two questions

    1) how does the cell highlight red if its zero?
    2) Curious, how do you know I work for the veterans?

    thank you for your help
    neel

  10. #10
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    1 - Its done by Conditional Formatting. Just another formula that tells the cell to turn red when a Tech ID cannot be located in the column.

    Click on Q6 (don't change anything in the cell, just click on it)
    Then click on : Conditional Formatting (menu bar up top), then Manage Rules, then Edit Rule

    You'll see the formula setup in the small window that appears. Again, don't change anything.
    Once you tell Excel what the logic is in the formula, you can assign a color fill to display
    if the logic is present. In this case, if the number Zero ( 0 ) appears in the cell, color it red.

    2 - When I was working with your original file, there is a notation in the Save As window / Author that
    indicates it belongs to the Dept of Veteran Affairs.

    Side Note - Also, I recently retired from Radiology. 20 years. Started as tech and retired as Director of Imaging Services at a large
    medical facility in South Carolina.

    You are welcome. Glad to help. I would be interested in assisting you with future projects as well. Nice to dabble in xray again.



    ps: From past experience I would recommend you maintain a copy of the file in a separate location just in case the original gets contaminated (somehow they all do).
    It will save you alot of headaches cuz you won't have to re-create the wheel.

  11. #11
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    awesome and small world...I am a radiologist, prior military and now serving the veterans.

    will surely reach out if I need help again.

    thanks

  12. #12
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    You are welcome.

    Cheers.

  13. #13
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    Hello,

    hope you are doing well

    I have been using the schedule with great success....Thanks for you help again.

    I was wondering if you would be able to help make it even better.

    If a rad is in the OFF column for the day, can we create an alert so that I do not put that radiologist on the schedule for that day?

    thanks again

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

    Re: help with verify scheduling

    I made the changes that had been recommended in post #5 as to number of rows per Fluoro and General Reading, so that only one Tech would be entered per cell.
    The following is used as custom data validation and applied to the range B12:O28
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If the initials of a Radiologist Tech is typed into a cell after being scheduled as 'OFF' in the column an error message will appear.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  15. #15
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    JeteMC : Nice job ! I tried to find your macro or formula that generates the alert ... but unable to . What have I missed ?

    homer77 : My apologies for being late ... I just now received the notice of your request. Sometimes the FORUM is s...l...o...w sending out the emails.

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

    Re: help with verify scheduling

    @Logit
    Thank You for the compliment.
    Select one of the cells in the scheduling range, say B12 then select Data Validation (on the Data tab in the 2010 version).

  17. #17
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: help with verify scheduling

    .
    Gotcha. Didn't think to look at Data Validation (obviously).

    Good show.

  18. #18
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    ok great that works...:I just changed the message to state "This RAD is OFF on this day"

    can I build a similar error msg for a situation in which where I have already made the schedule and someone calls off. I noticed that if I then fill the Off cell then it does not prompt me to remove that person from the daily schedule - so if I forget to manually remove them I could potentially still have them listed in OFF and on the schedule. I don't think this would be that big of an issue but think it should work the other way also, correct?

    thanks a lot

  19. #19
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    nm, I just tried it and works....this tool is great!

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

    Re: help with verify scheduling

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools drop down in the ribbon above your first post. I hope that you have a blessed day.

  21. #21
    Registered User
    Join Date
    11-26-2017
    Location
    washington
    MS-Off Ver
    2010
    Posts
    10

    Re: help with verify scheduling

    Hello, just curious if the data validation tool can be used somehow to count the rads and make sure all are accounted for? Right now if someone is not on the schedule or off status then the corresponding box on the right shows a value of 0 and highlights red. Should I simply stick to this or is data validation an option?

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

    Re: help with verify scheduling

    Data Validation "catches" errors in data as it is entered. In the case of data not entered I can't think of a way to have data validation "catch" that. The attached file models a way you could produce a list of rads that are not listed on a particular day using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note: change was made to the formula for the table in columns Q:AB to eliminate the circular reference error.
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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. Pay verify - using vba: Reg.
    By perpectuals in forum Excel General
    Replies: 3
    Last Post: 08-11-2016, 12:58 AM
  2. verify id?
    By lang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2014, 06:14 PM
  3. Scheduling: Calendar style scheduling based on scheduling list
    By denkatprieto in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-19-2012, 11:10 AM
  4. Verify Connection
    By yawnzzzz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-31-2011, 10:23 PM
  5. verify that a query ran
    By g48dd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2011, 11:22 AM
  6. How to verify if two cells are the same
    By gurp99 in forum Excel General
    Replies: 2
    Last Post: 04-10-2011, 08:20 PM
  7. Verify before proceeding
    By snowing in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-06-2006, 08:49 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