Forum Discussion
function IF
Hello!
I explain: I have this: "if grade>80 = A, if grade>70 = B, else = fail"
So I wrote my first IF and now in the part "if it's wrong" I want to add a new IF function but I don't succeed to do it.. If someone can help me!
Thank you
Hi, if you have started learn if here, spend some time here
https://gyankosh.net/msexcel/functions/logical/excel-function-if/
for your problem, I think nested if is good. If you had mentioned the cell, it'd have been better.
=IF(M>80,"A",(IF(M>70,"B","FAIL")))
M is the cell address containing the marks
4 Replies
- NikolinoDEGold Contributor
Here is an example with nested IF functio.
It should actually work like Mr. Baklan has already described.
Anyway, if it doesn't work then it doesn't work. Too much time to look for it, the easy way chosen 🙂
Thx all,
Nikolino
- gyankoshBrass Contributor
Hi, if you have started learn if here, spend some time here
https://gyankosh.net/msexcel/functions/logical/excel-function-if/
for your problem, I think nested if is good. If you had mentioned the cell, it'd have been better.
=IF(M>80,"A",(IF(M>70,"B","FAIL")))
M is the cell address containing the marks
- Olufemi1450Copper ContributorPlease, I'm new here. I need your help to solve this problem in Excel 2016. I want a function that will help grade the score of students as A, B, C, D, E, or F. The formula I entered seemed not correct.
=IFS(G2>80,"A",G2>70,"B",G2>60,"C",G2>50,"D",G2>40,"E",TRUE,"F")- SergeiBaklanDiamond Contributor
What's wrong with the formula? It shall work.