I have conditional formats with ranges like this: A:A B:B C:C D:D E:E F:F But when I duplicate the sheet, the new sheet has ranges like this: A:A B:B,C:E F:F
Please attach a sample file, and how do you duplicate the sheet.
Lazarus, Hello I am not sure if this is a bug or not. I believe I have replicated the behavior; however, it looks to be more just a convention. In that, if A:A has conditional format 'red fill if number<1' for example and B:B, C:C, D:D, and E:E all have the same conditional format 'green fill if number<1' - then when you duplicate the sheet you'd see the ranges you described. Because the conditional format 'green fill if number<1' is the same for Columns B,C,D, and E - and the program just groups those together. That said, if you could be more specific if this is happening when each column has a different conditional format? Or if you can say why specifically you view it as a bug - please comment back! Thank you
It's not a bug, it was done a time ago to avoid the duplication of the conditional format, very annoying in other cases.
Created attachment 188449 [details] Original individual column formats
Created attachment 188450 [details] Incorrectly duplicated conditional formats
Please attach a sample file.
It is a bug because the results are different and the duplicate sheet is not correct. Please see attached images.
Images shows a possible bug, but to reproduce it, a sample file it's needed. We don't need your original file, only with the minimal data to reproduce the issue.
Created attachment 188489 [details] Sample file Thanks for looking
Conditional Format Color Scale is one example of the potential problems of unifying/combining ranges in CF management (typically seen when copying ranges or worksheets). When the min and max values for the CF Color Scale are, for example, within the same column (as in attachment 188489 [details] from comment 9), then unifying/combining ranges (with different columns) will change the resulting Color Scale, because the scale of values in the unified/combined range will consider min and max values of the combined range as a whole, not within each column separately as the original CF does. In these cases, combining the CF ranges is not the best procedure (and probably inadequate in too many situations). Repro in many old versions and in a recent LO Dev 24.2.