?
Solved

How apply this formula in excel

Posted on 2013-06-07
3
Medium Priority
?
367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
rspahitz earned 1000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 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