AndrewWilber
5 years agoQrew Trainee
Multiple If Statements in conditional formatting
Hello!
I am doing a conditional formatting field which I am calling "Visual status". I am using this field to alert me to key issues with records in my system visually.
I have developed the following code:
var text red = "<img src=https://images.quickbase.com/si/24/221-point_red.png>";
var text yellow = "<img src=https://images.quickbase.com/si/24/223-point_yellow.png>";
var text green = "<img src=https://images.quickbase.com/si/24/222-point_green.png>";
If(
[Required BOM Release Date]<Today(),$red, Today()-Days(10) < [BOM Yellow Date] ,$yellow
)
What I am looking to do now is add a multiple If statement that looks at 1 more field. The new field I have added is [BOM Release Date]. This is the actual BOM release date. What I am trying to figure out is to take into account the actual BOM release date so that my current formula won't turn yellow or red once I get closer to "Today()". The way my current formula is written once my Required BOM Release Date approaches, the record turns red regardless if my team put a BOM in place or not.
Thank you for your assistance!
Andrew
------------------------------
Andrew Andrew
------------------------------
I am doing a conditional formatting field which I am calling "Visual status". I am using this field to alert me to key issues with records in my system visually.
I have developed the following code:
var text red = "<img src=https://images.quickbase.com/si/24/221-point_red.png>";
var text yellow = "<img src=https://images.quickbase.com/si/24/223-point_yellow.png>";
var text green = "<img src=https://images.quickbase.com/si/24/222-point_green.png>";
If(
[Required BOM Release Date]<Today(),$red, Today()-Days(10) < [BOM Yellow Date] ,$yellow
)
What I am looking to do now is add a multiple If statement that looks at 1 more field. The new field I have added is [BOM Release Date]. This is the actual BOM release date. What I am trying to figure out is to take into account the actual BOM release date so that my current formula won't turn yellow or red once I get closer to "Today()". The way my current formula is written once my Required BOM Release Date approaches, the record turns red regardless if my team put a BOM in place or not.
Thank you for your assistance!
Andrew
------------------------------
Andrew Andrew
------------------------------