I have large spreadsheet, with rows colored according to no regular rule, so the cell color cannot be determined by the cell entries. I want to lookup the cell color and use it as value.
Spreadsheet is like this:
----------
data|data| <-- background row color red
----------
data|data| <-- background row color blue
----------
data|data| <-- background row color yellow
----------
and I want to create new column which will report the cell backgound color, such as "RED" or "EE0000."
Excel/Gnumeric/LO Calc all have an information lookup function called cell
and attribute "color", which seems to only tell whether the cell is colored or not:
cell("color", A2)
returns either 0 or 1.
So how can I get the cell background color in Gnumeric or LO Calc?