Hey @Eliz_Comm!
Here's the original formula from your screenshot:
IF(
OR(
{Equipment Status} = "Out of Commission",
{Equipment Status} = "Out for Repair",
),
"⚫ Removed",
SWITCH(
{Status},
"Checked In",
"
Available",
"Checked Out",
"❌ Not Available",
"
Available"
)
)
In plain language, this formula looks at whether the Equipment Status field returns the value of "Out of Commission" or "Out for Repair".
If that expression evaluates true, the value of "⚫ Removed" is returned.
If that expression evaluates false, we default to a SWITCH function that evaluates the Status field values with a fallback value of "
Available."
Now, you'd like to add a conditional spike to this formula where the Equipment Status field is "Unknown", the formula should return "❌ Not Available."
There are a couple of possible permutations to this edit, but here's one way to do this:
IF(
OR(
{Equipment Status} = "Out of Commission",
{Equipment Status} = "Out for Repair",
),
"⚫ Removed",
IF(
{Equipment Status} = "Unknown",
"❌ Not Available",
SWITCH(
{Status},
"Checked In",
"
Available",
"Checked Out",
"❌ Not Available",
"
Available"
)
)
)
Hey @Eliz_Comm!
Here's the original formula from your screenshot:
IF(
OR(
{Equipment Status} = "Out of Commission",
{Equipment Status} = "Out for Repair",
),
"⚫ Removed",
SWITCH(
{Status},
"Checked In",
"
Available",
"Checked Out",
"❌ Not Available",
"
Available"
)
)
In plain language, this formula looks at whether the Equipment Status field returns the value of "Out of Commission" or "Out for Repair".
If that expression evaluates true, the value of "⚫ Removed" is returned.
If that expression evaluates false, we default to a SWITCH function that evaluates the Status field values with a fallback value of "
Available."
Now, you'd like to add a conditional spike to this formula where the Equipment Status field is "Unknown", the formula should return "❌ Not Available."
There are a couple of possible permutations to this edit, but here's one way to do this:
IF(
OR(
{Equipment Status} = "Out of Commission",
{Equipment Status} = "Out for Repair",
),
"⚫ Removed",
IF(
{Equipment Status} = "Unknown",
"❌ Not Available",
SWITCH(
{Status},
"Checked In",
"
Available",
"Checked Out",
"❌ Not Available",
"
Available"
)
)
)
This worked perfectly--thank you so much!