我希望每当左列较大时,右列就会获得粗体字体。
例如:右栏中的
0
应为粗体,59
应为粗体。
每当我尝试时,我都会添加一个范围,然后选择
'smaller than'
,然后我选择左列的范围,它会添加完整的列并将其与完整的其他列进行比较。我希望将它们单独进行比较。
前往
你就完成了。
前往此处查看实例,将其复制到您自己的驱动器并享受乐趣!
选择“右侧”列并将 CF 自定义公式规则应用到效果:
=right column top cell < left column top cell
在我的场景中,我认为最初的目标是确保自定义公式完整地应用于 2 个单独的行 - 否则用户需要为每一行编写自定义公式。为了自动实现这一目标,我能够仅将 forumla 应用到第一行,然后使用 Google Sheet 的本机嵌入逻辑将公式应用到两列。示例:我的 A 列是某物的实际价格,B 列是价格阈值。请注意,A 列中有多个商品,其各自的价格不同。当价格阈值达到时,我希望 B 列中的相应行变为绿色(而不是像本线程中提到的那样加粗)。我将突出显示单元格 A1(价格数据的第一个单元格)并在此处应用公式;格式 > 条件格式 > 应用到范围 = A1(应变为绿色的单元格),如果 = 客户公式为 > =$A1<=$B2. This states that if the price/value of A1 is less than or equal to B2 then turn Green. Right, this applies it to these 2 cells only. We want to apply this logic to the whole column A and B. To do this, we select A1 and click the circle on the bottom right hand corner and swipe all the way down to the end of the column (A in this example). If you select any cell in column A. The logic will work however the logic within each cell will not need to update.
则设置单元格格式