What is the cause for Conditional Formatting to get jumbled up?

别来无恙 提交于 2019-12-11 15:55:46

问题


For a while now I've been having a strange oddity when using Conditional Formatting. I created an Excel sheet for a separate department in my company to use which has the use of conditional formatting as follows:

All neat and tidy. However, after a while when I check back the sheet at a later date, I find my formatting to be all over the place.

I asked them how they entered the data and they said they keyed it in normally. I even tried to copy/paste, drag and drop the data and I still can't replicate the cause of it. Granted the function is still there but if I want to edit the conditions it's going to be a major headache with it all over the place.

For this issue what seems to be the most likely cause and how can I prevent it?


回答1:


Causes have been mentioned (moves, deletions and insertions) and a solution is quite simple: use whole column ranges. (Deleting rows, adding rows or moving rows all fit within "whole column").

Now that might give you an issue in your first 8 rows if there are values in those rows that might trigger your CF rules. (This is not often the case as many CF rules are to do with numbers and often label rows, admittedly rarely as many as eight, are usually text.)

So wrap your formula rules in:

 =AND(......,ROW()>8)

Tampering with the first eight rows could still be an issue but seems less likely and could perhaps be prevented with protection.



来源:https://stackoverflow.com/questions/46947216/what-is-the-cause-for-conditional-formatting-to-get-jumbled-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!