Share via

Excel HELP: Enabling or disabling a cell that contains dropdown listbox according to another cell value.

Anonymous
2023-04-14T12:23:33+00:00

Hello evryone.

I am a new user to excel programming. Can anybody help me to enable/disable a cell that has a dropdown list (created by Data Validation) based on a value in another cell?

The situation is:

A1: Type of Product - Dropdown list with two options

A2: Dropdown list of number of users Product 1

A3: Dropdown list of number of useres Product 2

What i want is depending on the selected product from cell A1, I want to enable the selection in on of the two cells A2 and A3. If product 1 is selected in cell A1 -> A2 is enabled and A3 is disabled and greyed out.

I managed to greyout the cells with conditional formating, but somehow I cannot write a correct formula i data validation that allow me to have a dropdown list AND enable/disable the selection according to another cell.

Any ideas?? I much appreciate your help

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. HansV 462.6K Reputation points
    2023-04-14T12:27:43+00:00

    I'd use a drop down list in A2 that is dependent on the product selected in A1, and omit the drop down list in A3.

    See Create Dependent Drop-Down Lists

    Was this answer helpful?

    0 comments No comments