Simple Excel formula Help.....

vijaychennai

Board Regular
Joined
Dec 7, 2009
Messages
239
Hello all,

Good day !!!

I have excel file in the below format.

Excel Workbook
AB
1GradeError
2A1
3A2
4B1
Sheet1



Based on grade i need to get points.

Answer :

Excel Workbook
ABC
1GradeErrorPoints
2A120
3A215
4B120
Sheet1



Condition:

Grade A - Error 0 = Points 30

Grade A - Error 1 = Points 20
Grade A - Error 2 = Points 15
Grade A - Error 3 = Points 15
Grade A - Error > 3 = Points 0

Grade b - Error 0 = Points 30
Grade B - Error 1 = Points 20
Grade B - Error 2 = Points 15
Grade B - Error > 2= Points 0
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi

Here's one way using SUMIFS - you create a lookup table with your possible grade/error combinations and resulting points. The 0 points don't need an entry in the table.

Excel 2007
ABCDEFGH
1ValuesLookup Table
2GradeErrorPointsGradeErrorPoints
3A120A030
4A215A120
5B120A215
6B60A315
7B030
8B120
9B215
Sheet2
Cell Formulas
RangeFormula
C3=SUMIFS($H$3:$H$9,$F$3:$F$9,A3,$G$3:$G$9,B3)
 
Upvote 0

Forum statistics

Threads
1,215,876
Messages
6,127,482
Members
449,385
Latest member
KMGLarson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top