根据是否包含数据更改Excel单元格颜色
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了根据是否包含数据更改Excel单元格颜色相关的知识,希望对你有一定的参考价值。
This formula will automatically change a cell's background color if there is data in it. You can also change the formula to only fill cells where there is no data.
Select your cells you want to apply this formula to. E.g. - All of column B Select Conditional Formatting. Choose New Rule - Use a formula to determine which cells to format To change only cells with data enter the following: =B1<>"" To only change those cells without data enter the following =B1="" Select the format button and apply whatever format you would like to the cell - fill, font, border... Click OK to apply.
以上是关于根据是否包含数据更改Excel单元格颜色的主要内容,如果未能解决你的问题,请参考以下文章
如何根据单元格颜色获取 UDF 以在 Excel 中自动更新