+ Reply to Thread
Results 1 to 6 of 6

Populating a weekly schedule based on criterias with formula

  1. #1
    Registered User
    Join Date
    07-17-2019
    Location
    Copenhagen
    MS-Off Ver
    MS Office 365
    Posts
    17

    Populating a weekly schedule based on criterias with formula

    Hi,

    I have a task where I need to schedule the amount of people in the office present in the building at the same time.

    The idea is to populate a weekly schedule based on 4 different criterias, which is chosen in a drop down list for each headcount.

    A: Custom (added manually, so empty)
    B: Mondays and Wednesdays, every second friday on even week numbers.
    C: Tuesdays and Thursdays, every second friday on odd week numbers.
    D: One week at the office (full week), next week at home.

    It will be something like this:

    CovidSchedule.JPG

    My first idea was to do an IF statement, but I got lost in the complexity of so many different criterias. My second idea was to populate a scheme in another tab per week and criteria, and then do a vlookup but I didn't get it to work either.

    Do any of you have an idea on how to solve this easily?

    The goal is that each responsible team leader should fill in this schedule, and it will summarize in a number of people present at the office at the same time.

    I've attached the test file that I've been using.

    Appreciate any help, thanks a lot.

    R
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Populating a weekly schedule based on criterias with formula

    Please try Single Cell formula
    G9
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or G9:G14
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-17-2019
    Location
    Copenhagen
    MS-Off Ver
    MS Office 365
    Posts
    17

    Re: Populating a weekly schedule based on criterias with formula

    Wow, that looks great, I'll give it a try.

    There might be an issue with option A. If people choose A, they are supposed to fill in manually, which will override the formula, and if the person would then change their mind the formula would be broken. Is there any smart way to solve this?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Populating a weekly schedule based on criterias with formula

    Use G9

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-17-2019
    Location
    Copenhagen
    MS-Off Ver
    MS Office 365
    Posts
    17

    Re: Populating a weekly schedule based on criterias with formula

    I'm sorry but i'm getting the same issue. If I choose A for person 6 and then add a bunch of X'es to mark their presence, hence removing the formula, and then changing person six back to B there are no formula so it still shows the manual entering.

    As I'm typing this I'm realizing there is probably no good solution for this? Except a kind of "Reset" macro that fills everything with a formula again, but that is out of my reach.

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

    Re: Populating a weekly schedule based on criterias with formula

    You may want to send a message to one of the moderators/administrators (see Members List at top of page) requesting that the thread be moved to the Excel Programming / VBA / Macros forum.
    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] I need help with weekly NFL schedule
    By TS49 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-21-2019, 07:33 PM
  2. [SOLVED] Weekly schedule data to daily schedule
    By Sarah_L in forum Excel General
    Replies: 6
    Last Post: 09-16-2019, 04:36 AM
  3. Replies: 0
    Last Post: 10-02-2016, 07:30 AM
  4. Macro or Formula needed to summarize Daily Tasks into Weekly Schedule
    By diablo00124 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2015, 07:06 PM
  5. Macro or Formula needed to summarize Daily Tasks into Weekly Schedule
    By diablo00124 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-08-2015, 09:17 PM
  6. Macro or Formula needed to summarize Daily Tasks into Weekly Schedule
    By diablo00124 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2015, 01:44 PM
  7. Building weekly schedule based on allocation rules
    By nesa48 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2014, 02:48 PM

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