Excel - Data validation rules

Felipe Giordano 20 Reputation points
2025-02-17T15:54:56.7833333+00:00

Hi All,

How can I make a cell mandatory based on an answer in another cell?

For example, I want cells in Column K to be mandatory IF the users replied "To be Assigned" in Cell C.

Thanks in advance!!

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2025-02-18T05:06:41.3433333+00:00

    Hi,

    If you enter the "To be Assigned" in Column C, you can try this method:

    1. Select Column C.
    2. Go to Data- select Data Validation.
    3. Select Custom and enter Formula ="To be Assigned"
      User's image
    4. Under Error Alert tab select Information style and enter Title/Error message: Enter in Column K
      User's image
    5. Then you will get the pop up dialog box:
      User's image

    If the Column C is a dropdown list, you cannot set 2 Data Validation in the same column or cell, I suggest you use the Conditional Formatting as a workaround:

    1. Select Column K.
    2. Go to Home- Conditional Formatting- select New Rule...:
      User's image
    3. Select Use a formula to determine which cells to format and enter the formula: =C1="To be Assigned"
      User's image
    4. Select the Format... option and set the format for Column K (fill the background color for Column K):
      User's image

    User's image

    1. Then if you select the To be Assigned from Column C drop down list, the cell in Column K will change automatically:
      User's image

    Hope the information will help.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.