Libre Office allows applying a color scale to cells by selecting Format -> Conditional -> Color scale
. The middle dropdown is "Percentile" by default, but it is possible to pick "Formula". However, how do you enter the formula? What is the variable representing the current cell? This doesn't seem documented anywhere in the help files.
For example, I have 165 values in column G ranging from 0.790 to 5243.616. If I just do the regular formatting on these, it is not very useful, as the small values all get colored red. Instead, I would like to apply color based on the logarithm of these values. So for each Gi
, the color should be assigned according to =LOG(Gi)
, and also the min/max should be determined with something like min(log(G:G))
.
How do I write this formula?