+ Reply to Thread
Results 1 to 14 of 14

Using COUNTIF (?) to list missing training in scheduling spreadsheet

  1. #1
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Question Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Hi all,

    attached is a sample spreadsheet I am building to help me schedule training sessions for team members across different teams in a large organisation. You will see the training sessions scheduled in columns M and P to give you an example of how I would mark each training session.

    What I am looking for is a formula for column E, which (for each team member) compares the range F through to NF to a list of predefined training session names (see sheet 2) and lists the missing values in column E. So for example, for all three team members in the sample, the formula should pick up that there is no training scheduled for "mandate", and it should display this in column E. If multiple training sessions are missing, it would be great to have them comma-separated.

    I'm open to any other suggestions, as I am a novice excel user and unsure if countif is the most appropriate solution. A bit of background in case it matters - I am considering using a table format for each of the departments, to allow me to sort the newstarters by start date or manager, as sometimes only a particular team may require training, but generally it makes sense to sort by start date. The hiring in this organisation is very staggered, which is why I use the coloured cells in F-NF to mark when a team member started and where they are at in their onboarding (green for month 1, yellow for month 2 and so on).

    Previously, I did it the other way around, with a concatenate formula in column E showing me all training the team member had been scheduled for/attended. However, this became quite messy and it meant I had to manually compare column E to the list of available training for each team member.

    Looking forward to any and all suggestions, thank you in advance!
    Attached Files Attached Files
    Last edited by Pietzki; 12-19-2023 at 01:55 AM.

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Please try in E4 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Thank you, that looks perfect actually! I will mark the thread as resolved - if there's any issue when I implement at full scale I may report back.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    You are Welcome!

    Thanks for the feedback and glad to have helped .

    Also, if you have not already done so,
    you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  5. #5
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Hi again, just a quick follow-up question regarding formatting - column E can get very full when a newstarter has not yet attended any training, as typically there are over 20 courses to attend. This makes it a bit difficult to read the spreadsheet to see what needs to be scheduled next.

    I do not want to use text wrap as this would make the rows too big, but I also don't like having the text display over other columns as per the attached screen snip (I hope it worked). When I click on the cell (for example E4), all it shows me is the countif formula.

    Is there a more elegant way to display the training courses the person has not yet attended without making the column really wide? For example, is there a way to make the formula bar display the result of the formula instead of the formula itself?
    Attached Images Attached Images

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Thanks for the feedback and rep. . Glad to have helped.

    Is in this case creating a seperate table an acceptable solution?

    In that case plese try:
    Please Login or Register  to view this content.
    See range A26:E36.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Hmmm I would prefer not to have a separate table, but no stress - it isn't super important (more of a niggly thing). What I have done as a workaround to make the text not overlap with column F etc is I have inserted a new column F and put a space in it. Combined with the way I have set up the training lists, this means column E will now show me at least the next training I need to schedule for each person, which is the most important thing. If I want a full view I can just expand the column.

    Thanks again for all your help!

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    You are Welcome!

  9. #9
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Hi again, sorry to be a pain but I have another question and you have been incredibly helpful!

    I'm trying to figure out if there is a way to automatically colour code the cells from column F onwards, based on the starting date (column C) of the person in each row. For example, in the originally attached sample spreadsheet, instead of manually changing the colour of H4-AN4 to green (to indicate this is the person's first month), can I use formula-based conditional formatting to do this automatically?

    I've tried playing around with it but I cannot seem to figure it out - it seems like the only way to use this is to base the conditional formatting off the content of the cell to be formatted, rather than the content of C4 cross referenced with F2-NF2. I hope this makes sense.

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Yes it is easy to change the colour of a person first month in green:

    In your example is H4-AN4 in green (excluded Saturday and Sunday).
    This is a little bit more as a month (33 days),

    This CF-rules turns the cells the first 33 days green except Saturday and Sunday:
    Please try CF-rule applies to $F$4:$NF$25
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You should also add real dates in the headers.
    Please empty all dates in F1:NF1 and try in F1: =SEQUENCE(,365,DATE(2024,1,2)) and format cells F1:NF1 as ddd.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    You, sir, are absolutely brilliant! If I wanted to highlight month two in yellow, three in orange etc, is that possible or am I pushing my luck?

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    First month: Please try CF-rule:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Second month: Please try CF-rule:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and so on
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-18-2023
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365 MSO (Version 2310)
    Posts
    7

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    Works perfectly (apart from highlighting public holidays, but that doesn't matter)!

    Last question - how can I buy you a drink? Seriously, I appreciate your help immensely and if there's a way I can pay you for your help I'll do it in a heartbeat!

    I will try to stop bugging you now

  14. #14
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: Using COUNTIF (?) to list missing training in scheduling spreadsheet

    You are Welcome!

    Thanks for the nice feedback. Glad to have helped .

    This part of the Excel forum is a free forum, where every member can provide solutions voluntarily and free of charge.
    You can thank the members by adding reputation by clicking on * Add reputation left below their answers.

    Next time, there is also an option to purchase points on Commercial Services, https://www.excelforum.com/payments.php after which you can post a question for which you want to pay.
    These questions can only be answered by administrators, moderators and gurus.
    If you have a preference for someone to answer your question, you can indicate this.

+ 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. Training Scheduling help
    By Broadsword21 in forum Excel General
    Replies: 1
    Last Post: 12-15-2021, 10:55 AM
  2. [SOLVED] Trying to highlight missing training from completed training
    By CHRISPODI in forum Excel General
    Replies: 3
    Last Post: 11-14-2021, 08:13 PM
  3. [SOLVED] Tracking training Sessions and Leader training with Countif and if statements?
    By lreed in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-02-2017, 06:38 PM
  4. Booking/Scheduling an interactive training tool
    By toyin64 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2016, 02:21 PM
  5. 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
  6. Training spreadsheet
    By help-needed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2012, 08:29 AM
  7. Training spreadsheet questions
    By Maisiedays in forum Excel General
    Replies: 5
    Last Post: 05-14-2010, 12:40 PM

Tags for this Thread

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