Excel - Conditional Formatting - insert row

前端 未结 16 1575
轮回少年
轮回少年 2021-01-01 11:37

Using Offset or Indirect in \'Applies To\' does not seem to work. Is there any other way to stop conditional formatting from breaking after inserting row/s

16条回答
  •  情话喂你
    2021-01-01 12:08

    I realize this is an old post, but I was running into the same problem and have since figured out how to not get the split conditional format rules.

    In my Excel 2010 spreadsheet, I enter dates into column B. Some times I fat finger the date entry, which is why I wanted to conditionally format them. Initially, I was selecting a range (B2:B1960), so my formula in the Conditional Formatting Rule would be "=B2:B1960>TODAY()".

    Well, that worked fine until I went to insert new rows between existing rows. The rules would split just as the OP described. I happened to look at several different websites and found a Microsoft Office site that pointed me to the answer. It mentioned to highlight the range that you want to format, but change the formula to "=B2>TODAY()".

    Since changing the formula, I can now insert new rows between existing rows and not get the split Rules as before. Here is the link to that web page. http://office.microsoft.com/en-us/excel-help/use-a-formula-to-apply-conditional-formatting-HA102809768.aspx

提交回复
热议问题