简体   繁体   English

根据另一列的选择,从一列的下拉列表中完成一项

[英]Completing an entry from a drop down list in one column, based on the choice from another column

I want to add text to cells in Column C based on what is entered in Column B. Column B AND Column C are both drop down lists. 我想根据在B列中输入的内容向C列中的单元格添加文本。B列和C列都是下拉列表。 So, if in Column BI have chosen Coach Substitution from the drop down list, I need the word 'SUBSTITUTION' to appear in Column C (it is in the drop down list for Column C), if any other choice is made in Column B from that drop down list, Column C remains blank and ready to accept a choice from THAT drop down list. 因此,如果在BI列中从下拉列表中选择了Coach Substitution,那么如果在B列中做出了其他选择,我需要在单词C列中显示“ SUBSTITUTION”这个词(在C列的下拉列表中)。从该下拉列表中,列C保持空白,并准备接受从该下拉列表中进行的选择。 I keep getting error messages about "You may not use reference operators (such as unions, intersections, and ranges) or array constants for Conditional Formatting criteria.", OR it won't alter anything at all. 我不断收到有关“您可能不使用引用运算符(例如,并集,交集和范围)或数组常量作为条件格式设置条件。”的错误消息,否则它根本不会改变任何内容。 YIKES! 哎呀! Help!!?? 救命!!??

The below requires the C cell or cells to be populated (won't switch from a validation entry of blank to SUBSTITUTION ). 以下要求填充一个或多个C单元(不会从空白的验证条目切换为SUBSTITUTION )。

Perhaps what you want is to select the relevant ColumnC cells (say C1 or starting at C1) and Format - Conditional formatting..., Custom formula is and: 也许您想要选择相关的ColumnC单元格(例如C1或以C1开头),然后选择格式-条件格式..., 自定义公式为

=B1="Coach Substitution"

with formatting of Custom: 自定义格式:

"SUBSTITUTION"

Done . 完成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 根据另一列的值填充列表中的一列 - Fill one column from a list based on the value of another column Excel-下拉列表包含基于第二列中值的第一列中的动态内容 - Excel - Drop down list containing dynamic content from first column based on value in a second column Excel根据列表选择从列中获取一组值 - Excel get set of values from a column based on list choice 根据Excel下拉列表中的选择填充整个列 - Populate an entire column based off selection from a drop down list in excel Excel 或 VBA - 从另一个工作表中的动态列填充下拉列表,没有重复项 - Excel or VBA - populate a drop down list from a dynamic column in another sheet with no duplicates 根据另一列的行数对列进行编号 - Number down a column based on amount of rows from another column 根据下拉列表选择索引另一张纸的数据 - Indexing data from another sheet based on drop down list selection 根据下拉列表选择,将信息从一个工作表拉到另一个工作表 - Pulling information from 1 worksheet to another, based on drop down list selection 如何基于另一个下拉列表中的选择创建动态(更改)下拉列表 - How to create a dynamic (changing) drop down list based on a selection from another drop down list 删除重复项并根据另一列中的值指望一列 - Remove duplicates and count on one column based on values from another column
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM