View Single Post
Old 08-03-2018, 01:59 PM   #50
Ashartus
First Line Centre
 
Join Date: Mar 2007
Location: Calgary
Exp:
Default

Quote:
Originally Posted by Calgary14 View Post
Is it possible to have multiple IF/THEN statements in one cell? If I wanted to search a row of cells for the terms red, green and blue and then classify them based on their color - what would that formula look like? For example "if red, then yes", "if green, then yes" and "if blue, then no" - can I do that all in one cell? Right now I can only seem to put one if/then statement in there
You can nest if statements: "if (red then yes, if (green then yes, no)) would be your example. If the cell is red the answer is yes, if not then if the cell is green the answer is yes, if not then the answer is no.
Ashartus is offline   Reply With Quote