if consdition in excel code example
Example: if function example
var hi = "hi";
if (hi == "hi") { //if the variable hi is "hi" then:
//Whatever you want to happen
} if (hi != "hi") {
//Whatever you don't want to happen
}
var hi = "hi";
if (hi == "hi") { //if the variable hi is "hi" then:
//Whatever you want to happen
} if (hi != "hi") {
//Whatever you don't want to happen
}