How to grey out cells based on another column or drop down list choice in Excel?
Have you ever tried to grey out cells based on another column value or the drop down list choice? Here in this I will give you the solution about above problem in Excel.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
For example, here are two columns –column A and column B, and if the values in column B are YES, then the corresponding cells in column A will be greyed out, if not, the cells in column A do nothing.
1. Select the cells in column A you want to grey out, click Home > Conditional Formatting > New Rule.
2. In the New Formatting Rule dialog, select Use a formula to determine which cells to format, and enter this formula =B2="YES" into the Formula values where this formula is true. Click Format to go to Format Cells dialog, select the grey color under Fill tab. See screenshot:
3. Click OK > OK to close the dialogs. And the cells have been greyed out based on another column values.
Note: if you want to grey out cells based on the drop down list choice, you also can do as follows:
Select column B, and then create the drop down list by clicking Data > Data Validation, selecting List from Allow list, and selecting the source data into textbox. See screenshot:
Then the drop down list has been created in column B
Repeat above step 1-3 to apply a formula into the Conditional Formatting feature, and then the cell in column A will be greyed out based on the choice in column B.