A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Jordan. I am an Excel user like you.
How to add an imbedded IF function inside another IF function depends on what kind of conditions you have and what result you want. Here are two basic illustrations of how to put them together.
- =IF(A1="RED","Christmas",IF(A1="Green","Easter","None"))
In this formula the first Logical Test is A1="Red". The true result is "Christmas". So, if A1 does have "Red" the result will be "Christmas". The imbedded IF function is in the Value if False position. If A1 does not have "Red" the second IF function comes into play as the Value if False option and if A1 has "Green" then the result will be "Easter" as the true result of the second IF function. If A1 does not have "Green" then the result will be "None" as the False result of the second IF function.
- =IF(A1="Red",IF(B1="Green","Christmas","Valentine's"),"None")
In this formula the second IF function is in the Value if True position so if A1 has "Red" it will go on to the Value if True IF function to check if B1 has "Green". If this is true (we have met both Logical Tests now) then the result will be the true result of the second IF function "Christmas". If the Logical Test is false and B1 doesn't have "Green", then we have met the first test but not the second so the result will be the false result of the second IF function "Valentine's". If on the other hand the first Logical Test is false and A1 does not have "Red" then the formula will jump over the Value if True IF function and go to the Value if False part of the first IF function that is after the second, completed, imbedded IF function and the result will be "None".
Hopefully this will help on how these are constructed. If you need more specific information you will need to include some basic details about your data and layout. Be sure to remove sensitive information.