Forum Discussion
Nested IF formula in Excel 365
- Apr 22, 2019
please see screenshot and file attached.
The formula that I used is an array formula. To make the formula to work, you need to do CTRL+SHIFT+ENTER after you finish writing it or after you edit it in the formula bar. The formula will get curly brackets at the beginning and ending after you hit those three keys.
Good luck!
DanGreene , by the way, expressions like
IF(I5="HIGH", "T", "T")
have no sense, it always returns "T" independently on what do you have in I5
- DanGreeneApr 22, 2019Copper Contributor
Sergei,
Looking at the example:
=IF (G5="LOW" and H5="LOW"), then IF (I5="LOW", "T", IF(I5="HIGH", "T", "T"))
I have IF(I5="HIGH", "T", "T")) listed this way because there is a third value of "Moderate" that could be in the Cell I5 which should return a value of "T" as well.
thank you
dan
- SergeiBaklanApr 22, 2019Diamond Contributor
Dan, sorry, but I didn't catch. The expression in second part
=IF(I5="LOW","T",IF(I5="HIGH","T","T"))
is equal to
= "T"
will it be in I5 "MODERATE", "LOW" or any other value
- DanGreeneApr 22, 2019Copper Contributor
Sergei,
thank you for the reply. Yes this is true. In my analysis of data I collected thru employee surveys, I can distill the data given back into either T, OT or NT to populate the cell E5. Depending on what values are placed into G5, H5, or I5, the outcome may indeed show the value of "T" for both. These are types of training that my department will need to implement according to those values.
I see your point though, I could rewrite the formula on those that have the same "training" value to simplify.
- TwifooApr 22, 2019Silver ContributorSuccinctly, what conditions must be fulfilled for the required formula to return each of the possible results? If you cannot answer this question, I am sorry to inform you that you cannot also expect an answer.