# homework question

#### emre55

##### New Member
I am stuck on one of my homework problems and do not know which formula to use.

This is the question:
 If all three ratings are 90 or above, then the employee receives a bonus of 25% of her base salary. Otherwise, if all three ratings are 80 or above then the employee receives a bonus equal to 15% of her base salary. Otherwise, the employee does not receive any bonus (zero dollars).The ranges for the ratings are H7:J162

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

### Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

#### Michael M

##### Well-known Member
We don't generally assist with homework.

#### GTO

##### MrExcel MVP
This is the question:
 If all three ratings are 90 or above, then the employee receives a bonus of 25% of her base salary. Otherwise, if all three ratings are 80 or above then the employee receives a bonus equal to 15% of her base salary. Otherwise, the employee does not receive any bonus (zero dollars).The ranges for the ratings are H7:J162

<tbody>
</tbody>

Might I suggest that while it might not be the "trickest" formula, you nearly have it solved already. Concentrate on the highest standard test first (IF all three ratings are >=90, THEN...).

Mark

#### thatoneguy650

##### Board Regular
Excel Workbook
ABCDEF
1EmployeeSalaryRating1Rating2Rating3Total
2John500919395625
3Jack600938691690
4Jim400837881400
Sheet1

thank you

#### Michael M

##### Well-known Member
There's a shorter way using IF and SUM !!

Replies
4
Views
2K
Replies
0
Views
493
Replies
1
Views
382
Replies
9
Views
899
Replies
6
Views
703

1,195,721
Messages
6,011,299
Members
441,601
Latest member
mgdll

### 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.

### Which adblocker are you using?

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

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