I am trying to change the value to be seen to my user when a certain value is given.
When โ+โ shows up in my raw data I want โPositiveโ to be shown in my app. I cannot seem to make this happen. Here is my current expression:
SUBSTITUTE([Antigen], โ+โ, โPositiveโ)
The error it gives:
The filter condition โ=SUBSTITUTE([Antigen], โ+โ, โPositiveโ)โ of format rule โPositive Color Codeโ must return true or false.
Solved! Go to Solution.
Sure, you can also use this formula.
IF([Antigen] = โ+โ, โPositiveโ, โNegativeโ)
What property are you applying this formula?
Property? Where is that? I was doing this in โFormat Rulesโ? Is that what you are asking?
Yes, Iโm referring to the property of the column but it seems that you are applying the formula into a format rule. I think you can use the SUBSTITUTE in the column properties because you are changing a data.
What you can do here in format rules is to change the formula into [Antigen] = โPositiveโ, and you will add an icon, select a color, change the property of the font such as bold, italic, strikethrough, etc.
Here is my problem. My raw data looks like this:
I am trying to change those โ+โ and โ-โ so that we can read it better in the app.
Does that make more sense?
So i cannot put:
[Antigen] = โPositiveโ
Because it never does in my raw data.
Then just create a virtual column and apply this formula SUBSTITUTE([Antigen], โ+โ, โPositiveโ) because you are trying to change the data. You cannot change the data in format rule.
PERFECT!
Thank you so much!
Last question - can it also say โNegativeโ if the โ-โ comes up?
Havenโt used substitute formula, but you can try this one.
OR(SUBSTITUTE([Antigen], โ+โ, โPositiveโ),SUBSTITUTE([Antigen], โ-โ, โNegativeโ))
Thanks that didnโt quite work so i changed it to this -
IF([Antigen] = โ+โ,
SUBSTITUTE([Antigen], โ+โ, โPositiveโ), โNegativeโ)
And it worked!
Thanks again so much
Sure, you can also use this formula.
IF([Antigen] = โ+โ, โPositiveโ, โNegativeโ)
Thanks
User | Count |
---|---|
42 | |
29 | |
25 | |
23 | |
13 |