Yoar Asked: 2024-03-24 20:45:19 +0800 CST2024-03-24 20:45:19 +0800 CST 2024-03-24 20:45:19 +0800 CST 我可以根据其他单元格进行条件设计吗(Excel) 772 我试图通过 Excel 规则做到这一点: 靠近“1”(A 中)(旁边)的任何单元格(B 列中)都将为红色,靠近“2”(旁边)的任何单元格都将为绿色。 有可能的方法吗?(没有VBA,只有Excel规则)。 谢谢你! microsoft-excel 1 个回答 Voted Best Answer Mayukh Bhattacharya 2024-03-24T21:42:03+08:002024-03-24T21:42:03+08:00 您需要使用Conditional Formatting最后一条规则 -->Use a formula to determine which cells to format 选择Column B范围从B1:B8 转到Home选项卡 --> 从Styles组 --> 单击Conditional Formatting--> 单击New(或者,打开New Formatting Rule窗口框的快捷方式是 --> ALT+ H+ L+ N) 选择最后一条规则 -->Use a formula to determine which cells to format 在edit the rule description输入以下公式: =A1=1 单击Format--> 选择您的首选项。 单击OK-> 两次。完毕。 2重复该过程的方法相同,但更改A1=2并更改格式。或者您可以选择范围,B1:B8按ALT+ H+ L+R打开Conditional Formatting Rules Manager--> 单击Duplicate--> 单击Edit--> 将规则描述更改1为2并更改格式,按OK完成。
您需要使用
Conditional Formatting
最后一条规则 -->Use a formula to determine which cells to format
Column B
范围从B1:B8
Home
选项卡 --> 从Styles
组 --> 单击Conditional Formatting
--> 单击New
(或者,打开New Formatting Rule
窗口框的快捷方式是 --> ALT+ H+ L+ N)Use a formula to determine which cells to format
edit the rule description
输入以下公式:=A1=1
Format
--> 选择您的首选项。OK
-> 两次。完毕。2
重复该过程的方法相同,但更改A1=2
并更改格式。或者您可以选择范围,B1:B8
按ALT+ H+ L+R打开Conditional Formatting Rules Manager
--> 单击Duplicate
--> 单击Edit
--> 将规则描述更改1
为2
并更改格式,按OK
完成。