Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 922

Value for nested if clauses searching text

$
0
0

I have a formula that evaluates if certain text is in a cell and then supplies a values based on what it finds. It uses nested if clauses. I am searching text, not numbers. Individually the clauses work but when nested only the first clause is correctly identified if it exists but if it is from the nested clauses I get a value error. See below. What is wrong here?

=IF(SEARCH("blue",B11), CONCAT("This blue car is a",B11),IF(SEARCH("red",B11), CONCAT("This red car is a",B11),IF(SEARCH("green",B11), CONCAT("This green car is a",B11)," ")))

Viewing all articles
Browse latest Browse all 922

Trending Articles