Solved

How apply this formula in excel

Posted on 2013-06-07
3
354 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

734 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