Solved

How apply this formula in excel

Posted on 2013-06-07
3
318 Views
Last Modified: 2013-06-08
How to convert the formula in excel. These are the conditions

IF marks=0 then grade ="F"
IF marks=100 then grade="A+"
IF marks>=(xbar+(1.645*sd)) then grade="A+"
IF marks>=(xbar+sd)) and (marks<(xbar+(1.645*sd))) then grade="A"
IF marks>=(xbar+(0.5*sd))) and (marks<(xbar+sd)) then grade="B+"
IF marks>=(xbar)) and (marks<(xbar+(0.5*sd))) then grade="B"
IF marks>=(xbar-(0.5*sd))) and (marks<xbar) then grade="C+"
IF marks>=(xbar-sd)) and(marks<(xbar-(0.5*sd))) then grade="C"
IF marks>=(xbar-(1.645*sd)) and (marks<(xbar-sd)) then grade="D"
IF marks<(xbar-(1.645*sd))  then grade="F"

I have created this formula how to apply this. On cells having numbers only.

=IF($E3="","",
IF($E3=0,"F",
IF($E3=100,"A+",
IF($E3>=($H$2+(1.645*$J$2)),"A+",
IF(AND(($E3>=($H$2+$J$2)),($E3<($H$2+(1.645*$J$2)))),"A",
IF(AND(($E3>=($H$2+(0.5*$J$2))),($E3<($H$2+$J$2))),"B+",
IF(AND(($E3>=($H$2)),($E3<($H$2+(0.5*$J$2)))),"B",
IF(AND(($E3>=($H$2-(0.5*$J$2))),($E3<$H$2)),"C+",
IF(AND(($E3>=($H$2-$J$2)),($E3<($H$2-(0.5*$J$2)))),"C",
IF(AND(($E3>=($H$2-(1.645*$J$2))),($E3<($H$2-$J$2))),"D",
IF(($E3<($H$2-(1.645*$J$2))),"F",)))))))))))

The excel sheet is attached.

I want to apply this formula on column f3.
bba-2.xlsx
0
Comment
Question by:searchsanjaysharma
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
rspahitz earned 500 total points
ID: 39229391
You could try surrounding the formula with:

IF(ISNUMBER(...),"")

Also, FYI, you could name your cells so they look closer to your original formula, so column E can be called Marks and H2 can be called xbar, etc
0
 

Author Comment

by:searchsanjaysharma
ID: 39231118
My question is the formula correct/
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 39231450
tx
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now