Background
I have a sheet which tracks events, with their start dates in column B and start times in column C. My sheet uses conditional formatting to highlight certain values, e.g. the next event, past events etc. Because of this, I need to determine number format on a per-column basis, for example:
column B number format = D MMM
column C number format = H:MM AM/PM
Error or undesired behaviour
This works fine before I apply a conditional formatting rule to these cells. The error (or undesired behaviour) that follows occurs whether I use the Default format for all cells, and then apply my conditional format, or whether each column has its own style applied.
My conditional formatting is applied as follows:
Formula is $C2<NOW()
Range: A1:E100
Apply style: cf10
The style cf10 was created and only changes the background - to apply a grey shade.
What actually happens is that when the conditional format applies style cf10, it uses a single number format for the entire range, overriding the required distinction between cells columns B & C.
I have found a comment in the forums which starts to suggest a solution, yet does not actually provide it (user Lupp states that OP âwill have created the âcross-outâ styleâ, yet does not elaborate on how to not âcross outâ the original style, which appears to be the default behaviour):
https://ask.libreoffice.org/t/how-to-apply-conditional-formatting-without-changing-number-format/62666/5
My LO build info
Version: 25.8.5.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 4; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Ubuntu package version: 4:25.8.5-0ubuntu0.25.10.1
Calc: threaded
Any help would be greatly appreciated.
