This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a colour to a cell regardless of the value. For example: =...+STYLE(IF(CURRENT() > 3; &quot; red &quot; ; &quot; green &quot; )) applies the style &quot; red &quot; to the cell if the value is greater than 3, otherwise the style &quot; green &quot; is applied. Both cell formats have to be defined beforehand.
一定时间之后，可以再应用另一个样式。此函数始终返回值 0，您可以将该值原封不动地添加到另一个函数中。与 CURRENT 函数一起使用可以将颜色应用到单元格，而不受该值的影响。例如：=...+STYLE(IF(CURRENT() > 3; &quot; red &quot; ; &quot; green &quot; )) 在值大于 3 时将样式 &quot; 红色 &quot; 应用到单元格，否则应用 &quot; 绿色 &quot; 。两种单元格格式都必须预先定义。