Formula to omit a value from a calculation

kasava

New Member
Joined
Aug 8, 2014
Messages
11
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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
If you are using Excel 2007 or higher:

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

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

kasava

New Member
Joined
Aug 8, 2014
Messages
11
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.
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
What version of Excel are you running?

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,016
Messages
5,834,941
Members
430,327
Latest member
Mr_Himalayan778

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
Top