Solved

How apply this formula in excel

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

777 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