Jump to content

Nested if/then statements


Recommended Posts

If you mean in the data header, then yes:

 

=IF( <logic test>, result 1, IF(<another logic test>,another result,IF(<different logic test>,different result, last result)))

 

In the syntax of IF THEN ELSE the then or the else can be another IF/THEN/ELSE.  This example shows the nested IF/THEN/ELSE in the ELSE part.  It becomes a tsunami of parenthesis, so be careful 🙂

 

If you mean inside a normal cell, then I'm less certain.  Do you have an example?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...