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!
Hi! It seems that your final result can be T, NT, OT.
Can you please explain on your words (not formulas) the conditions to apply each one of the results?
Please tag me so that I can come back to this thread.
- DanGreeneApr 22, 2019Copper Contributor
Hello! Thanks for replying. Yes I am taking survey results and distilling down the results in 3 categories:
Difficulty, Importance, and Frequency. I will apply the logic of the excel formula to return a value of T, NT or OT for levels of training needed for my department.
Difficulty has 3 levels, (low, moderate, high), Importance has 2 levels (low, high) and Frequency has 3 levels (low, moderate, high)
The values are assigned from other calculations from survey results <2.5=low, 2.6-3.4=moderate, >=3.5=high.
So in Cell E5, I need to compare values in G5,H5 and I5 using the logic formulas shown to ultimately provide a value of T, OT, or NT .
Hopefully this makes sense! thank you.
- Celia_AlvesApr 22, 2019MVP
it is still not clear when you want T, NT or NT to appear.
In your words:
- what needs to happen with the values of G5, H5 and I5 to make E5 = T?
- what needs to happen with the values of G5, H5 and I5 to make E5 = NT?
- what needs to happen with the values of G5, H5 and I5 to make E5 = NT?
- DanGreeneApr 22, 2019Copper Contributor
You can think of this has a flow chart type of analysis. G5, H5 and I5 are prepopulated with HIGH, MODERATE, LOW.
The logic I'm attempting is a flowchart type layout:
IF G5 LOW AND H5 LOW then Look in cell I5 for value and place the "T", "NT", or OT" in E5
In this case G5 and H5 are LOW and use the following formula to pick which (T, OT, NT) to place in E5
IF (I5="LOW", "T", IF(I5="HIGH", "T", "T"))
Since LOW is in cell I5 , it results in "T" in E5.
Depending on values in G5 and H5...(Low, Low or Moderate,High or High,High...ect) it changes how the Value in I5 is interpreted to place the T, OT, or NT in E5. Sometimes it will seem redundant, but the type of training will cover multiple scenarios.
I hope Im explaining it correctly.
thank you