# Average Column Of Cells But Ignore Errors And Return Average Of Numbers That Are There

Jun 14, 2013

E11 through E24 contains numbers and a few errors (#N/A) that need to persist (the errors need to show).

E10 needs to show the average of the numbers that are in E11 through E24, and just ignore the errors.

I have many columns like that - where the errors need to show and I need to show an average of the number/values that do appear, ignoring the errors.

## Average Column Containing #N/A! Errors

Aug 21, 2006

I have a colomn with numers and text. I would like to get an average of the numbers in the column, but using average (A1:A10) gives me #N/A as some of the cells contain #N/A.

So wondering if there is an AverageIF function in excel that I can use to write something which only averages IF it is a number.

Sounds very basic but I could not find anything through search.

## How To Avoid Errors And Average Cells Correctly

Feb 21, 2014

I need to Average the cells I7, I9, F12:F18, M12:M18 in Cell G2

Cell F12 is an Average of its respective cells bellow. (and so forth)

NRT will = 1
N/O will = 0

I have cells F12:F18, M12:M18 indicate NRT in the cells when selected I would like N/O to also be displayed however it comes across as 0.

How do I avoid the #DVI/0! Errors and get the averages to calculate appropriately.

## Ignore Blank Cells In A Average

Mar 3, 2004

I am doing an average of a column of cells. How do I tell excel to ignore the blank cells in the column and not calculate them in the average?

## Ignore Empty Cells In Calculating Sum And Average

Oct 11, 2013

i get a problem in preparing a roster i went to ignore blank cells in calculating rank. and also i went to make the sum to be empty is one of the cells in a range is zero

## AVERAGE Row Of Numbers And Return Corresponding Numeric Label

Sep 19, 2005

I have one Row that houses numbers 80-90 in seperate cells (11 columns A20:
K20) - these are my Numeric Labels.

I then have several other Rows that span the same number of columns as the
Numeric Labels (A21:K100) and house Numeric Values that relate to the Numeric
Labels.

I would like to AVERAGE the Numeric Values in each Row and have a Numeric
Label (value) that corresponds to the calculated average returned as the
result.

Example: Sample Data
A20:K20 (Numeric Label) 80 81 82 83 84 85 86 87 88 89 90
A21:K21 (Numeric Value) 07 06 05 03 09 09 00 02 04 12 10

Based on the above data - the Expected Result is 81
Average = 6; Return Numeric Label = 81

The leading zeros shown in A21:K21 is for alignment purposes only.

I would appreciate two formulas:
1) Includes zeros to be averaged
2) Excludes zeros from being averaged

I have tried variations on this =INDEX(\$A\$20:\$KJ\$20,MATCH(AVERAGE(\$A21:\$K21),
\$A21:\$K21,0)) but receive the #N/A error message.

## Average While Ignoring Zeros And Errors?

Feb 14, 2013

I'm trying to return the average, min and max values of a range that will have errors, be blank or have zeros. I have already found an array formula that works getting rid of the errors but the zeros are now a problem.

{=AVERAGE(IF(NOT(ISERROR(D27:G27)),D27:G27))}

I was thinking that an OR might be needed but for the life of me can't figure out where it belongs. I will also be using this formula with both MIN and MAX in the adjacent cells so it would be great if all I have to do is swap those in for AVERAGE. I'm not keen on how array formulas work, just found an example similar to this on the interwebs, and I'm curious why if the array brackets are removed the value returned is 0 and not an error.

Workbook is proprietary so VB is locked and not an option (not sure if it was but wanted to be clear).

## Average Value But Ignore Zero

Nov 13, 2013

I have specific cells A5, C5, D5, F5, H5 that I require and average value for but need to ignore those cells that have a zero value in the averaging.

## Average / Standard Deviation On Range Containing #N/A Errors

Jun 12, 2007

I'm currently trying to perform some statistical functions on a range of data but with little success.

I want to "AVERAGE" the range and also do a "STDEV" on the range G8:G107 but some of the cells contain #N/A formula errors. I must have the formula returning #N/A to the cells else my chart on the same range plots the empty cell as 0.

What formula can I use that will let me do the standard average and stdev functions on that range, but ignoring the #N/A errors as if they were simply empty cells?

## Average The Values And Ignore The Zero

Nov 15, 2007

In column A I have

A1 = Monday
A2 = Tuesday
A3 = Wednesday
A4 = Thursday
A5 = Friday

B1 � B5 contains values, one of which is zero (b2)

I need to take the value in B5 then divide it by the average of B1:B4, however I need it to ignore the zero

## Place Average Of The Five Numbers In Column

Dec 22, 2008

Column B values are the average of the most recent five values in column A.
The formula in Cell C1 is �=B7� so that the value in C1 is 1.17. My question is: When I place a value in cell A8, which will result in the average of the five numbers in column A4-A8 being placed in cell B8 how do I make the value in C1 change to be the value which is in cell B8 rather than the value which is in cell B7?

Note: I just want to be able to pick up the most recent average value � the
method whereby it is done is of no consequence. However I cannot think
of an alternative. Example:.....

## How To Average A Column Of Numbers That Are Greater Than 0

Jul 20, 2006

I am trying to average a column of numbers. I want to only average the cells
that contain a number greater than 0.

## Calculate Average Of 3 Values But Ignore If Any Value Is 0?

Dec 5, 2011

I am making a summery table of lots of soil contaminant data.

In my summery table, for each determinand I want the average value automatically taken from data from a number of other tables within this same spreadsheet.

For example, for pH- I would average the pH value found in each table, from cell D6, G24 and AB9.

The problem:

Out of the three tables where I take each pH value from, on occasions only one will have a value- the other two will be "0".

How do I ensure that, when averages are taken, it will always ignore '0' values?

## Calculate Average Of 4 Lowest Numbers Out Of Last 7 Entries In Column

Jun 4, 2014

Daily Result
14
10
16
10
5
15
8
12
15
9

I have the formula working for the average of the 4 lowest of all, using "AVERAGE" and "SMALL"; need for average of 4 lowest in most recent 7

## Calculating The Average Gain & Loss For Numbers In One Column?

Mar 27, 2009

I wanted to know how I can calculate the average gain and average loss for data that is inputted into one column? For example;

Column A
\$12,000
-\$5,000
\$6,500
-\$1,000
\$8,000
-\$4,000

Average Gain ??
Average Loss ??

## Seeking To Average Numbers In Single Column Broken Into Increments Of 5

Sep 12, 2008

I have a column of over 500 replies to a survey. I want to create a pie chart showing the average ages of the respondee to that that question, broken down into increments of 5 years (this was the question -- how old are you) and reported as a percentage.

## Excel 2007 :: Find Average Numbers On Sheet 1 Column D?

Feb 13, 2012

I am using excell 2007 and 2010

I need to find the average numbers on sheet 1 column D. Column D contains numbers as well as Blank cells. The info will be presented on sheet 2 in a monthly view. In other words i need to ssearch awithin a date range and determin the average of those numbers. This works on some months but return a DIV/0 erro most of the time.

=AVERAGEIFS('2N Stats'!\$I:\$I,'2N Stats'!\$E:\$E,">=2/1/2011",'2N Stats'!\$E:\$E,"

## Formula To Average Numbers Leaving Out Blank Cells

May 26, 2009

Here is the formula I am using however it interprets the blank cells as 0% and includes it in the average. To make it more difficult there will be some 0%'s.

## Average Of Last Three Cells In Column Or Row

Jul 19, 2012

I want to be able to find the last non empty row in column C and then average the last three inputs. Thus utilzing this as a means for a projection of the remaining periods left in the year. All for projecting figures for the remainder of the year.

Bill
Period
Date
Amount

1
1/6/2012
3982.76

[Code] ..........

## How To Get Average Of First 5 Non-Blank Cells In A Column

Mar 24, 2014

I have a problem and I found a good explanation of something similar here:

[URL]

In the original posting the following formula solves the problem (attached) TestData.xlsx

B1: =AVERAGE(INDEX(B3:B100,MATCH(TRUE,B3:B100<>0,0)):INDEX(B3:B100,MATCH(TRUE,B3:B100<>0,0)+4))

What I would like to return is the average of the 1st 5 values, but what if a number of cells after the first value were also blank

## Calculate The Average Of A Group Cells In One Column Based On The Condition Of Another Column

Oct 2, 2008

I'm trying to figure out if there is a formula I could use that will calculate the average of a group cells in one column based on the condition of another column. It's hard to explain, so I will show an example. All the data is on a one worksheet and I'm trying to show totals and averages on another worksheet. Location, Days

17, 4
17, 3
17, 5
26, 4
26, 8
26, 10
26, 7

On a different worksheet I would want to know what the average days are for each location. So is there a formula that I could use that will look at column A for a specified location number and then average all the days in column B for that location? I'm using Excel 2003 and have tried using the Average(if) but with no success.

## Weighted Average Of Specific Cells In Column?

Dec 30, 2013

I would like to find the weighted average of the values in the "score" column. Additionally, I would like to only find the weighted average if the student is jack and jane. I have attached my workbook for review.

## Average Cells Based On Dulplicates In Other Column

Nov 27, 2006

I was wondering if there is a way for excel to compare cells and identify when they are identical. My objective for this is as follows. Lets say i have some data entered in cells A1:A10. Suppose cells A1,A3,and A4 had the same value (112-343). Now suppose cells B1:B10 had values also, lets say B1=2, B3= 2.5 and B4=8. I need for excel to go through the A1:A10 range and realize when the A cells have identical values, after this is realized i want excel to take the values in the B cell that correspond to the identical A cells, average them and then store them in cell C. And if there are mutliple identical cells i would like the routine to be able to identify this also. lets say A1=A3=A4=(112-343) and A6=A8=A9=(154-456) ....

## Formula: Average Value Of Cells Left Of Highest N Values In Above Column Range

Sep 24, 2006

I need a cell formula that will (a) identify the highest N values in an above specified column range, (b) color the interior of those N cells (I suspect that this is not possible), and most importantly (c) return the average value of N corresponding cells, where the corresponding cells are located on the same rows as the identified N high value cells but in a specified column to the left (not necessarily adjacent)

Does anybody know what this formula would look like?

Example:

-----------------------
...| A | B | C | D | E | F |
-------------------------
1 |....| * |.........| 7 |...
-------------------------
2 |....................| 2 |...
-------------------------
3 |....| * |.........| 6 |...
-------------------------
4 |....................| 1 |...
-------------------------
5 |....| * |.........| 5 |...
-------------------------
6 |....................| ? |...
-------------------------

? = average of B1,B3,B5 where (N = 3) and (specified column to the left = B)

## Ignore Errors "#VALUE!" Adding Cells

Aug 10, 2007

I had trouble today adding up series of cells that would sometimes contain text (during data entry, a 'n/a' value would be entered if such data was unavailable, causing standard addition to break), but thanks to another thread (Ignore Text Adding Cells is that it ignores non-numeric values.

However, after doing some more work I realized that some other summations were still breaking, and I believe it is because some of the cells being added are flagged with the "#VALUE!" error. The SUM function does not seem to ignore this, and produces a "#VALUE!" error of its own. My question is, how can I perform calculations (a summation of an array of cells, in my case) while ignoring not just non-numeric data, but errors as well?

## Average And Vlookup: Average The Grades With Appropriate Names

Dec 9, 2008

i have two columns...a and b (a w/ names, and b w/grades). then i have the table lookup with names and grades all mixed up for many rows. i want to be able to average the grades with appropriate names.

=average(vlookup(name, table, column, false))?? i don't get it to work and how can i specify the grade to average?

## Formula To Return An Average

Mar 11, 2008

I am working on formula to return an average of data.

Currently it is matching a text criteria.

Thus if (the text in) column a = (the text in) column b, (return the average of) column c.

The formula that I am using is =IF(A:A,B:B,AVERAGE(P:P))

This is returning - #value!

Now is this a formatting problem in column P? Or is the formula I am using incorrect?

I know that the text criteria (col A & B) matches.

## Return An Average Value If Two Conditions Are Met

Mar 24, 2009

I'm trying to create a formula that that returns an average value if two conditions are met. No luck here.

I need to be able to get to - Brand = Blue; Value = 2; X Count = average - from the following information. The average is 17.5

BrandValueX CountY CountZ CountGreen1213152Green1405595Blue3107686Red1164965Green21098108Green33077107Blue21796113Blue13970109Red3144963Blue1107787Red31096106Red24663109Blue2165773Red21888106Green31910

## Average Row Of Numbers Using Different Row #'s

Aug 18, 2009

Field 1 input: Beginning Date (e.g 7/17/09)
Field 2 input: End Date (e.g. 7/23/09)
Need: Average costs on and between these given dates

From table with this information:

Date Market two
7/16/2009 80
7/17/2009 80
7/20/2009 82
7/21/2009 84
7/22/2009 82
7/23/2009 82
7/24/2009 82
7/27/2009 82

I need Excel to average Market two 7/17 to 7/23 (80, 82, 84, 82, 82) based on the dates I give it.

If I change the date to 7/20 to 7/24, I then need excel to average (82, 84, 82, 82, 82)

How can I get Excel to average based on different dates? Or basically, how do I get it to pull rows between 2 inputs?

## Average Of Top 3 Numbers.

Nov 27, 2005

I m making a worksheet for our shooting results. I need the average of the
top 3 results from collum E6 to W6 and top 3 reults from Y6 to AJ6. Can