# A formula for an average grade generator

#### sailor_taylor

##### New Member
I am looking for a formula which will tell me the "missing grade (F1)" that will, when averaged with at least two other numbers (B1 - E1), will result in my goal of the number in cell A1.

Summary:

Cell A1 is the averaged grade I want to achieve

Cells B1, C1 (and sometimes D1 and E1) are known grades

Cell F1 is the number, when averaged with B1 - E1, will give me the grade in cell A1

This ugly formula works when there are two (and only two) known grades:

=(A1*3)-(B1+C1)

Any advice will be greatly appreciated.

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

#### Andrew Poulsom

##### MrExcel MVP
Is it?

=(A1*COUNT(A1:E1))-SUM(B1:E1)

#### West Man

##### Well-known Member
Working along the same line as your formula try:

=(A1*(COUNT(B1:E1)+1))-(Sum(B1:E1))

#### sailor_taylor

##### New Member
Thank you gentlemen for your prompt response. The formulas worked perfectly.

Replies
5
Views
84
Replies
12
Views
164
Replies
3
Views
60
Replies
8
Views
72
Replies
6
Views
106

1,129,361
Messages
5,635,812
Members
416,884
Latest member
leeshjay

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