+ Reply to Thread
Results 1 to 11 of 11

Stuck on Formatting

  1. #1
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Stuck on Formatting

    Ok. I might be in way over my head with this one, but I am going to give it a go anyways. I have created a scheduling spreadsheet on Excel that takes student class schedules and then displays their work schedules. It's all based on conditional formatting. Basically, I type in when the student's have class, so for example, 8:00-12:00, and then spreadhseet I created uses the conditional formatting to black out the time segments the students cannot work due to classes and makes the cells they can work turn a specified color. There is room for 8 students. Now, what I am trying to do is figure out a way to create a drop-down list in another table based on who is availiable. For example, student 1 and student 3 are the only students that are able to work the 8:30 shift. So what I want to happen is when I go into the second table, there is a dropdown that comes down for the 8:30 shift that only gives me an option to click either student 1 or student 3. Any helpful ideas? I can provide more details if what I am trying to accomplish is not clear.

  2. #2
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Re: Stuck on Formatting

    I guess a simpler way of explaining what I am trying to do: create a drop down list based on cells that are conditionally formatted in a specific way in another table.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Stuck on Formatting

    Hi seehornh,

    Dropdown lists are normally based on data, not conditional formatting. I'd try to create the list based on a table of data and then perhaps use that table to do the CF??
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Stuck on Formatting

    The way that I would go about this is to build a formula or named range that lists all of the names in cells, then figure out how to apply that formula in a data validation list for your dropdown.

    If you would like more specific assistance, please see the yellow banner at the top of the page and upload a small representative sample along with the desired results based on that sample.

    Also, it would be helpful to know what version of Excel you are using. 2010, 2013, 2016, 365, ...

  5. #5
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Re: Stuck on Formatting

    Ok I have attached the spreadsheet. What I am trying to do is get drop-down lists to show up for the cells in the bottom table based on who is availiable to work.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Stuck on Formatting

    Nothing has been attached. Also, you still have not updated your profile to tell us what version of office you are using.

  7. #7
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Re: Stuck on Formatting

    I am using Microsoft Office 2019 MSO. I guess that is what you are asking. I am going to try for the fourth time to upload the sample workbook

  8. #8
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Re: Stuck on Formatting

    Sample Scheduler.xlsx
    Hopefully this works as the attachment

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Stuck on Formatting

    Are the desired results (based on the sample from post #8) manually mocked up somewhere in there?

    Sorry if I missed it, there's a lot going on there and what you are looking for (based on that sample) isn't clear to me.

  10. #10
    Registered User
    Join Date
    11-15-2022
    Location
    Johnson City, Tennessee
    MS-Off Ver
    unknown
    Posts
    9

    Re: Stuck on Formatting

    I do not have the desired results mocked up, but could probably do so if what I want doesnt make sense.

    What I am trying to do is this: There are three main sections of the excel sheet. One, on the left hand side, is a conditionally formatted schedule for 8 students based on their availiablity, which is determined in the second large area on the right, where you can put student's classtimes in, and it will black out those times in the area on the left. Now, I am trying to create a another third section. Ideally, this section sees which students are availiable and only list those students in a dropdown list. For example, student 1 and student 2 have class from 8:00-9:00, while student three has a class from 8:30-9:00. Thus, student 3 is the only student that can work the 8:00 AM block. Based on this, I want to make the excl sheet in a way that when I go to select a student in this third area to work at 8:00, a dropdown list will apear with only student 3's name. Then, if all three students can work the 11:00 block, all three student names will appear in the dropdown list.

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

    Re: Stuck on Formatting

    This proposal employs a couple of helper ranges:
    In the first range (AH1:BD64):
    1. AI2:AI64 is populated using: =IF(Z3<>"",Z3,AI2)
    2. AJ2:BD64 is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In the second range (AH66:BD105), AJ66:BD105 is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The Monday drop downs (B62:U64) have the source:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    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.

+ 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] Conditional Formatting, stuck, I'm almost there, just need the final piece
    By bdhobbs1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2022, 09:29 PM
  2. I'm stuck on Formatting a Date
    By JeffLeites in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2020, 06:30 PM
  3. [SOLVED] Conditional formatting Stuck in Range
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2015, 09:29 AM
  4. Replies: 5
    Last Post: 11-05-2014, 03:34 PM
  5. Conditional formatting stuck
    By M1234 in forum Excel General
    Replies: 12
    Last Post: 10-01-2013, 09:05 AM
  6. Stuck at work and stuck on a count function
    By gregfetzer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2012, 12:47 AM
  7. [SOLVED] Conditional Formatting versus macro code inthis example -stuck how to solve myself
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2012, 08:11 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