+ Reply to Thread
Results 1 to 3 of 3

Making data validation dependent on other cell value?

  1. #1
    Registered User
    Join Date
    12-21-2023
    Location
    Netherlands
    MS-Off Ver
    Office 2021
    Posts
    26

    Making data validation dependent on other cell value?

    Hi all,

    I feel like this should be easy:

    i want a dropdown-list with possible inputs for cell j35, the allowed inputs being: yes;no

    But i want to prevent "yes" from being selected here IF c35 is set to "none".

    The answers i've found seem to describe different tabs that i don't have within the data validation menu. I just have the tabs: settings, input message and error alert. And the option to select ''list'' from the ''allow'' drop-down menu is in the settings tab, and the source field is at the bottom of that tab as well. So i either select ''custom'' and can write a formula, or i select ''list'' and can write a list with options to be chosen from (yes;no) - but not both. Is there a solution to this? Or can i set the alert message to be dependent on the value of cell c35, so that at least i have a warning pop up when c35 is ''none'' and ''yes'' is being selected in j35?

    thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,237

    Re: Making data validation dependent on other cell value?

    On the worksheet Lists, I have set up two lists: one containing Yes and No, and the other only containing No.

    Tha data validation list formula for J35 is: =IF($C35="None",Lists!$B$1,Lists!$A$1:$A$2)

    Change the value of None in C35 to blank or anything else and back again, and see how it affects the list choices.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-21-2023
    Location
    Netherlands
    MS-Off Ver
    Office 2021
    Posts
    26

    Re: Making data validation dependent on other cell value?

    hey, thanks aliGW, unfortunately i cannot get it to work properly.

    Since there are multiple options for c35, and only "none" (or rather: "geen") should disallow for "yes" (or rather: "ja") to be selected, i have changed the formula to this: =IF(C35<>"geen";J32;J33), with J32 and J33 being "ja" and "nee" (yes and no). But the remaining problem is that the menu only folds out completely and shows both "ja" and "nee" when C35 is set to "geen" and only then for only 1 use; meaning that only when i change c35 it shows the menu, and when i change j35 from "ja" to "nee" or the other way around, without changing c35, and then try to change j35 back again to "ja" or "nee", the option to do so is no longer there. The same happens when i change the formula to =IF(C35="geen";J32;J33), so it seems to be an issue with the mechanic of the system and not so much the formula itself, it seems ... Any clue what's going on here and how to fix it?

    Here's the real example (cut out from the main sheet) of how im trying to implement it:

    Lists AliGW2.xlsx

    thanks in advance!

    (ps i'll be gone for a couple of hours but will check in later today)

+ 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] Create 7 dependent dropdown using data validation based on multiple dependent columns
    By b_raj_kumar in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-07-2021, 05:20 PM
  2. [SOLVED] Data Validation Dependent Cell >=
    By Tariq Malik in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2020, 10:16 AM
  3. clear dependent cell in data validation
    By Naveenaggarwal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2018, 11:18 AM
  4. Making Dependent ListBox or ComboBox from Pre-Made Validation List
    By jbagnall2004 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-13-2017, 07:56 AM
  5. [SOLVED] Data validation dependent on cell value
    By El_engineer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2014, 09:38 AM
  6. Making third Validation list that is dependent in column A&B (with illegal characters)
    By Elainefish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2013, 10:21 AM
  7. Replies: 2
    Last Post: 05-12-2011, 09:23 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