Adding a sumif to an existing formula

sloan3

New Member
Joined
May 20, 2011
Messages
1
Hello all,

I am not sure if I am posting in the correct place... I teach weightlifting in a school system and would like to chart and grade students based on performance. Ultimately I have created a range of grades applied over a range of pounds lifted. The issue that I am stumbling over I believe is the addition of another IF function. I would like to add points to grades for students that fall withing a certain body weight range. For example if a student is under 115 pounds body weight, I would like to add 15 points to his grade (kind of a curve). Once I figure out the rule I can then go in and complete the total function. The current working formula that I have (example bench press) is:

=IF(E96="","",IF(E96>194,"100",IF(E96>164,"92",IF(E96>134,"85",IF(E96>104,"76","69")))))

Formula says that if he lifts over 194 pounds he receives a 100 for a grade down to a 69 if he lifts less than 104 pounds. E96 represents his raw lifting score. While not listed in the formula, I do have a box designated for body weight. For this student the box for body weight is K94.

With that being said, this particular student weighs only 112 (K94) pounds and he lifted 115 pounds (E96). Based on my grading scale he received only a 76 for a grade.

So, how can I add points to a grade: 15 points if body weight is under 115 pounds, 10 points if under 130 pounds, and 5 points if under 145 pounds. No bonus points if body weight is over 145. These are examples.... Again, I am just learning how to use EXCEL and would like some clarification.

Thanks.
Scott
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the MrExcel board!

Instead of building all the values into the formula, I would make a couple of lookup tables and refer the formulas to those tables. I have put them nearby on the sheet below but they could be anywhere on the sheet, or even another sheet, and they could be hidden if you want.

This may need a little tweaking (post back with details if you need help) but should go fairly close I think.

Excel Workbook
DEFGHIJKLMNOPQ
93
94Body Weight:112Bench PressPointsBody WeightBonus
95069015
96Bench Press:1151047611510
97134851305
98Grade:91164921450
99194100
100
Weightlifting
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,391
Members
452,909
Latest member
VickiS

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