Pug can conditionally run code based on variables (passed from your server or based in Pug itself).
if (statement)
// Pug code
else if (statement)
// Pug code
else
// Pug code
unless (statement)
// Pug code
ParameterDetailsif (statement)Evaluates statement ...
You cannot define more than three conditional formats for a range. Use the Modify method to modify an existing conditional format, or use the Delete method to delete an existing format before adding a new one.