# Formula to omit a value from a calculation

#### kasava

##### New Member
I am working on a worksheet where if a value in a range of cells, F6:F11 is less than 85% the value in that row isn't to be included in the calculation. There are several columns that are averaged or summed based on the value in F6:F11.

I would appreciate some guidance. I tried to do it with an If formula but, got a #VALUE error.

Thank you,

Last edited:

### Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
If you are using Excel 2007 or higher:

=AVERAGEIF(F6:F11,">=0.85")

This will work in any version:
=SUMIF(F6:F11,">=0.85")

Thank you for the reply. The formula results in an error. Here is a little more information. G6:G11 needs to be summed f F6:F11 is greater than or equal to 85%. H6:H11 need to be averaged is F6:F11 is greater than or equal to 85%. If I can get those two formulas to work I can get the rest in place.

Thank again.

What version of Excel are you running?

=AVERAGEIF(F6:F11,">=0.85",H6:H11)
=SUMIF(F6:F11,">=0.85",G6:G11)

Thank you for sharing your excel skills!

Worked like a charm.

Replies
2
Views
236
Replies
3
Views
158
Replies
0
Views
350
Replies
2
Views
36
Replies
3
Views
91

1,219,807
Messages
6,150,348
Members
450,952
Latest member
Zung

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