+ Reply to Thread
Results 1 to 3 of 3

2 data validation in 1 cell

  1. #1
    Registered User
    Join Date
    03-14-2021
    Location
    philippines
    MS-Off Ver
    2010
    Posts
    1

    Question 2 data validation in 1 cell

    Hi,

    I'm currently stuck on my formula for this project. So, I have to cells that both already have a drop down list. What I want to happen is when you choose from the drop down of Cell A, Cell B will be disable. For example:

    in Cell A the list is: Cat, Dog, Mouse
    in Cell B the list is: Cheese, Bone, Apple

    If you choose "Cat" in cell A then I want cell B to be disabled or will not allow you to choose from the list.

    I tried this data validation formula on cell B but I get the error message "the list source must be a delimited list or reference to single row or column":

    =OR($A$2="Cat",COUNTIF($A$2,"")='FINAL PARAMETER'!$B$2:$B$4)

    Is there another formula that I can do so that when you choose a certain item on the list the other list will be disabled?

    Thank you and have a great day!cats.jpg

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: 2 data validation in 1 cell

    Create List1 and List2 and List3 which is blank cell

    in Data Validation

    Allow: List

    =IF(A2="CAT",List3,List2)

    assuming A2 is your DV selection

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: 2 data validation in 1 cell

    Formula for DV in B2

    =IF(A2="c","",$H$2:$H$4)


    If A2=c , for B2 no drop down else Drop down is H2:H4
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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] VBA to Prevent Data Entry in Cell with Data Validation List - Two Criteria Validation
    By AliGW in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 05-25-2019, 11:48 AM
  2. Data Validation Cell based on previous Data Validation Cell?
    By Dessesbo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-14-2015, 11:42 PM
  3. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  4. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  5. Replies: 1
    Last Post: 08-08-2011, 06:28 PM
  6. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  7. Replies: 10
    Last Post: 01-30-2006, 09:35 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