+ Reply to Thread
Results 1 to 5 of 5

Data Validation Problem

  1. #1
    Registered User
    Join Date
    10-01-2014
    Location
    Colorado, USA
    MS-Off Ver
    iOS
    Posts
    31

    Data Validation Problem

    I have a spreadsheet containing the dental records for 230 poor Mexican kids. I am trying to compile data for a 5 year study that some volunteer dentists are running. I am trying to generate individual dental charts by using the data validation function. I am 63 yrs old and Excel is Greek to me but I persevere! I need help because I have had to double the number of kids on one sheet (representing one grade level) and I can't figure out how to expand the drop down list that is generated by the data validation function; it only looks at the first 20 entries instead of the newly expanded 45 entries (an entry being an individual kid). A very nice person from this forum helped me out last year in designing the function. Somewhere there is a command that tells the data validation function to look at each sheet's entries but I cannot find it. The next clinic is next month and these dentists want me to have the data done by then. I am at my wit's end looking for this command but I can't find it. Can another compassionate, patient person please walk me thru how to correct this? I have hours and hours of work in they spreadsheet and right now, it won't do what I need it to do. Thank you in advance.!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation Problem

    Ok, this is how I would make your workbook ever-expanding.

    1) Add a sheet called ROSTERS
    2) As you add sheets to the workbook, insure there is a column on Rosters that match that sheet name
    3) Occasionally, you add the names from the new sheet permanently to the ROSTERS sheet and sort that column alphabetically (sorting optional)

    I have done the following:
    4) Added a named range that encompasses the ROSTERS row1, no matter how many values, it is called ClassChoices
    5) ClassChoices is now the drop down option on the Dental Chart cell B3, meaning this list will expand itself from now on based on the columns in the Rosters.
    6) I have named cell B3 as ChartChoice and it will be used in the dynamic named formula to come
    7) I have added a named formula called ChartChoiceOptions which is a dynamic OFFSET() formula. This formula will find the value you entered in B3 on the Rosters row 1, then present you with all the names in that column. It is dynamic so it will display however many names exist in that column.
    8) The name currently selected in N3 will disappear if you change the B3 choice and the new choice does not include the name currently selected. This is being done with Conditional Formatting.


    We had to abandon the INDIRECT() option as it does not work with dynamic column ranges, which seems like a much more useful ability in this project.

    Check it out, attached.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-01-2014
    Location
    Colorado, USA
    MS-Off Ver
    iOS
    Posts
    31

    Re: Data Validation Problem

    Wow!! That looks great!! This is only a five year study, but thank you so much for expanding it!! Things may change in the future, you never know!!

  4. #4
    Registered User
    Join Date
    10-01-2014
    Location
    Colorado, USA
    MS-Off Ver
    iOS
    Posts
    31

    Re: Data Validation Problem

    Can I delete the list of class names on the summary sheet?

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation Problem

    Yes, we don't use that anymore.

+ 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. data validation problem
    By naderassaleh in forum Excel General
    Replies: 7
    Last Post: 04-08-2014, 03:11 PM
  2. [SOLVED] problem with data validation
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2013, 10:02 PM
  3. [SOLVED] Data validation problem
    By Adamlearnexcel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-17-2012, 09:36 PM
  4. Data validation list multiple options problem when entering none validated data
    By ThomasCarter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2012, 05:53 AM
  5. Data Validation Problem
    By ruud in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-24-2009, 05:18 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