2
Assuming as example the column E
, the value of which Sim
or the value Não
, I am trying to create a conditional formatting that applies an arrow depending on the text present in the cell itself:
Sim = Verde
Não = Vermelho
outro = Amarelo
The point is that this doesn’t seem to work with text, only with numbers because by default it already assumes a comparison >=
.
If you use numbers, I get the desired result:
Which results in:
But the problem is -1
, 0
and 1
are not humanly readable (except for the programmer...).
Question
In the Libre Office Calc, how to apply an arrow automatically based on a text value present in the cell itself?
If impossible, an acceptable alternative is to apply a later format to conditional formatting where the value 1
is presented as Sim
, and the value -1
as Não
.
Example of the spreadsheet: example.ods
You tried to use a formula that "translates" the text automatically to 1, -1 or 0 (for example, using the function
SE
)? By the way, you could share a minimal example of the spreadsheet, just to facilitate the tests of those who help. :)– Luiz Vieira
@Luizvieira I added an example spreadsheet. The function
SE
I haven’t tried it yet, I’ll test it. Tks!– Zuul
I was testing here, but it seems that it applies conditional formatting only that it does not display when the content is text. I did the following test: I applied the formatting in the column using a formula that references the next column; it does not display the icons, but if I change the value of a cell to numeric, then it displays the icon. It seems that my suggestion will not work, because the resource is only for cells of numerical value... :(
– Luiz Vieira
@Luizvieira My tests before asking the question also made me come to this conclusion...
– Zuul