Get Average Of Last 6 Data Entries Not Including Blanks Or Zeroes
Jul 22, 2014
I am trying to get the average of the last 6 data entries not including blanks or zeroes.
Currently I have:
{=AVERAGE(INDEX(C2:CP2,LARGE(IF(C2:CP2<>"",COLUMN(C2:CP2)-COLUMN(C2)+1),6)):CP2)}
Which works fine when I've got 6 or more values in the row.
But if there are less that 6 values in the row it returns with #NUM!. Is there a way to add an IF ERROR THEN make = to AVERAGE of C2:CP2?
View 3 Replies
ADVERTISEMENT
Aug 14, 2007
Attached is an xls with my formulas and problem. We need a way to factor in zeros in grading student workers. However, we also need a way to omit blank or null cells if the workers did not do a particular project. The formulas currently in the sheet compute zeros for both scenarios, lowering the overall 'grade' for workers who didn't do a project compared with workers who did the project but got a '0'
View 8 Replies
View Related
Nov 21, 2011
I am looking for a formula for the following:
If there is nothing is U6:W6 return blank
Otherwise sum the contents of Bf6:BH6 and divide by the number of cells that are not empty in the range U6:W6 (to get an average of only the values in that range not including blanks).
View 3 Replies
View Related
Jul 18, 2013
How you can find the min with simpler ranges, but my equation doesn't work with what I've found so far. I want to skip the zeroes and blanks.
=IF(AC44>0,(MIN((FS13+FL13),(FS18+FL18),(FS23+FL23),(FS28+FL28),(FS$417+FL$417),
(FS$422+FL$422),(FS$427+FL$427),(FS$432+FL$432))) ,)
View 2 Replies
View Related
Feb 13, 2014
see the attached. The array formulas in B2:C3 are operating on the table in E2:F5. These are quite simple formulas as you'll see.
The formula in B3 is identical to that in B2 apart from the fact that the first array is wrapped in an IFERROR (there are actually no errors in the array, but that's not the point).
As you can see, the formula in B2 evaluates E3 as ="", and so the corresponding entry in F3 is ignored in the sum. Quite normal.
However, the identical formula, but with an IFERROR first acting on Array1 now evaluates the same cell as <>"", and so F3 is this time included in the sum.
What action has the IFERROR had on this array? Clearly, E3 is not an error, so a "blank" should still be passed, unchanged, to the function.
I have included identical versions of the formulas, but with Named Ranges replacing the actual range references. The reason is that, with these versions, if you step through the formulas with Evaluate Formula, for example with the formula in C2, you can see that Excel "temporarily interprets" the blank in E3 as a zero (this is nothing new, though I've never fully understood why it can't display a "" here as well) before then equating this "zero" as being a "blank".
Perhaps somehow, after being passed to the IFERROR, this "zero" is processed so that, when passed on, even though it still “displays” as a zero, for some reason it is no longer considered equivalent to "".
View 8 Replies
View Related
Jan 27, 2006
I am using a formula to include all values greater than zero in my average which has worked fine until i tried to extend the parameters, then it gives me the Value? sign. Does anyone know another way to accomplish what i want?
here is what i am using now.
=average(if(BZ28:CM28<>0, BZ28:CM28, " "))
i was trying to make the CM extend to CS, but for some reason it is not working.
Anyway, i figure a different equation might be better than what i
have and solve my problem.
View 10 Replies
View Related
Feb 15, 2012
Average formula that will give an accurate answer. My issue is that I need an average of what has been entered rather than for the entire selection. I have paste link transposed the data as it needs to run on Excel 2003 which can only hold 30 items in the Average(number1, number 2 ... etc) and I need 52. My problem occurs when the data is paste linked all blank cells appear as a Zero therefore increasing the count of the average and providing a wrong answer.
Eg when (1, 2, 0, 3) Average = 1.5 is entered the formula works out (1, 2, 0, 3, 0, 0, 0, 0, 0, 0, etc) Average = 0.12 because it divides by 52 instead of 4. As you can see I can't ignore zeros as they are a possible input. What would be perfect is for the paste link to paste the blank cells instead of the providing a zero then the plan =Average(B3:B55) would be fine.
(Note: the new entered data is on the same row but different columns hence the reason for the paste link transpose to get all the data in one column)
View 2 Replies
View Related
Aug 20, 2008
My spreadsheet is too large to attach so I'll describe it as best I can. I have names in column H, which are repeated irregularly. I have corresponding grade numbers (1-5) in column I, and I have the dates they were entered in column J. It looks something like this:
Column H Column I Column J
Name 1 4 8/10/08
Name 2 3.5 8/11/08
Name 1 5 8/11/08
Name 5 4 8/12/08
Etc....
I want to average the grades (column I) for a certain name (column H) within the last 30 days, or however many days I enter. I'm using Excel 2003 with the analysis add-in. I can use SUMIF to include any two columns, but how can I write an average grade formula using both the name and date conditions? Dan Auto Merged Post Until 24 Hrs Passes;Come to think of it, all I need to do is sum the data. I have a denominator in a different box that I can use to average it. So in effect, I'm trying to creat a SUMIFS function.
View 3 Replies
View Related
Apr 1, 2014
I'm trying to use Data Validation for cells. In these cells I only want a Y or N entry and cannot have blanks. I'm rusty on formulas.
This is what I've come up with
=IF(NOT(ISBLANK(B6))*OR(B6="Y",B6="N"),"TRUE","FALSE")
View 2 Replies
View Related
Sep 19, 2012
I need to calculate average response time, the problem is that it should be based only on "core hours" and that's between 7am - 6pm.
How to create function that will exclude "out ot hours" time (6pm-7am) from the calculation.
View 3 Replies
View Related
Apr 18, 2013
I have data in B4:B55 and need a formula to return a count of rows, including rows that are blank. However, there are hidden rows that need to be omitted from the count.
View 1 Replies
View Related
Jun 23, 2006
I've have and autofilter in the heading of a column that allows me filter on All, NonBlanks, Blanks, Cell Entries, Etc.....But for some reason when I filter on all a number of rows are hidden or the row height is set to 0 and I can't view the cells unless I change the row height.
View 2 Replies
View Related
Jul 21, 2009
I'm using an arrays AVERAGE(IF( to average several scores from one spreadsheet to another. However, if I have 30 employees, 1 may have no score, and I don't want that no score to factor into the average, but with the above array, it does.
Specifically, I get the wrong average for Score A, but the right one for Overal Score. See attached sample.
View 5 Replies
View Related
Jan 16, 2007
I want to figure a class average for a test, but I have students that have moved. My Excel is automatically counting them as a zero. How can I program/tell Excel to skip any blanks rather than count them in the average?
View 9 Replies
View Related
Jan 4, 2009
Trying to determine the best way to do this. I understand that the standard AVERAGE function will ignore blanks if given a range; the function I'm using does a search for a particular value to determine if a value is to be included in the averaging: ...
View 9 Replies
View Related
Apr 19, 2006
I am trying to make a excell spread sheet that will calculate my students averages for the year. I need to account for zeros in the coarse and I want this excel sheet to track the current average all year long . So I do not need to include my blanks in the average as I go. Also , how do I formulate my average accum to show this formula - Test scores, four of them count as 80% of the total grade. So each test is worth 20% / Lab 10% of total grade and homework is additional 10%. I downloaded the templete from MSN and have tweaked it to my liking except for the coding above. Please advise. I am a below par on Excel. My attachemtn is below of my templete. One note. the templete gave me the room to include 13 ros of homework - but I will not necessarily use all of them... I can make it one row for home work only ....
View 9 Replies
View Related
Oct 22, 2007
I have a formula to calculate an average value for a reference range:
= SUMIF(DATA!B32:B61,"<># div/0")/MAX(1,COUNTIF(DATA!B32:B61,))
Because these cells are references the blanks are being treated as zeros so I am getting an inaccurate average value.
Is there a way to make it so it will treat blanks as blanks? I need the zeros to be zeros.
View 9 Replies
View Related
Feb 12, 2008
I have run into a problem with the array formula. After inserting formula with the CTRL+SHFT+Enter it is giving me the same sum to the 3 cells that I had array formulas in but trying to capture different data from what was in the capturing column. Example:
If row F consists of text types: Move-in, Mid Year, and Year End as potential options,and row G is the score for that text type(cells will consist percentages), give me the average of all the cells in row G that are specific to Move-In only, but don't include the blanks in the average.
My existing formula isn't designated to exclude the blanks. how to exclude blanks and how to get it to stop giving me the same result in the three separate cells. My current formula is as such: {=AVERAGE(IF(F2:F73=E76, H2:H73))}
View 8 Replies
View Related
Apr 26, 2012
Project: x
Activity: xActifity TypeReference FormDec-11Jan-12Mar-12Apr-12May-12Feb-12Mar-12W/EW/EW/E2-Mar9-Mar16-Mar23-Mar30-Mar6-Apr13-Apr20-Apr27-Apr4-May11-May18-May25-May77%91%91%R/S95%100%100%R/S100%100%100%100%MMMM100%71%71%R/S100%100%R/SMMMM97%81%100%R/S100%MM100%R/S75%85%R/SR/SMM100%100%96%Average
Basically what I want to achieve is the average % of Dec 11 (D11:D22 on the sheet im working on) scores but excluding any blank fields (not excluding potential scores of 0%)
View 2 Replies
View Related
May 4, 2008
how do I perform calculations on the last x non-blank instances in a data range?
for example, let's say I have a spreadsheet of 5 baseball players' batting averages (rows are team game number played, columns are at bats and hits for each player). I want to see how each player has performed in their last 10 games played, but some players have not played in every game. If I just use the sum function for the last 10 cells, I won't get the correct information for any player that has missed one or more of the last 10 games.
View 8 Replies
View Related
Dec 5, 2011
I have a column of numbers that are derived with a formula. I need to Average only the ones that either have a Positive or Negative number, ignoring blanks or zero.
I have tried Search but couldn't find anything that address both blank and zero.
Sheet2
K610.00%624.76%632.53%6418.75%65666.38%6768-4.00%6970-5.84%710.86%
Excel tables to the web : [URL] .......
With this small sample, the answer should be 3.35% according to Excel when I choose just those neg and pos cells.
View 9 Replies
View Related
Dec 5, 2013
I'm using Excel 2010. I have a range of data like:
1 1 1 0 1 0 1 0 0 1 0 0 0 1 0
I need to count the number of "isolated" zeroes in this range of data. In this example the answer would be "3". What is the best way to approach this?
View 4 Replies
View Related
Dec 22, 2005
I need to average the figures in several cells. However some cells have a 0
in them.
I therefore want the formula to ignore the cells which have a zero.
I have used the AVERAGE & AVERAGEA function, but both count 0 cells.
(although AVERAGEA ignores blank cells, I need to keep the 0s in as they are
linked to another formula)
View 9 Replies
View Related
Apr 7, 2013
I have a database of over 10,000 entries. I am trying to get the average time for four specific entries (department, test 1, test 2, test 3). I did an averageifs for the tests individually and calculated the average time individually.
The three tests comprise of the department.
Average of test 1 = 40.8
Average of test 2 = 39.9
Average of test 3 = 94.8
Average of dept using the averageifs is 41.3
Average of dept by taking the average of the values above is 58.8
Why is that discrepancy there?
View 6 Replies
View Related
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
View 6 Replies
View Related
Jul 5, 2006
I have a worksheet that has all weekday dates in column 1 and values in column 2. I want to create a 30-day moving average based on the last (non-zero) value in the column 2.
Since every month has a different amount of days, I want it to search the date that has the last value (since I don't get a chance to update it daily) and go back thirsty days from that date and give an average of all the column 2 values skipping and values that are null or zero.
View 13 Replies
View Related
Oct 14, 2013
How to show my data as % of grand total and include the filtered data. Whenever I filter out a category in my pivot table the % values adjust for everything unfiltered. Is there a way to have my percentages include the filtered data?
View 1 Replies
View Related
Dec 5, 2012
creating an Excel invoice that would auto-populate from another Excel worksheet or file with data. The information that I would want to include are:
Company name
Name (person)
Email address
Start date
End date
Promotion description
Number sold
Price per item
Total charged
View 1 Replies
View Related
Mar 25, 2014
In Sheet1, i have a table like this:
Select Month
Actual Cost
Budget
Difference
[Code].....
I dont know how to do it here, but in Excel i have January (2columns) Febaruy (2columns) March tables. filled each table with its determinated data, and going down i have 3 more months, and so etc till i complete 12 tables one per month.
So now what i need is: That in Sheet1, where is Select Month be some kinda of drop down list, which allow me to pick the month i wanna see, and then when i pick. for example: April, then go to Sheet2, find the April table, and bringthe values to fill the table in Sheet1 , whatever option be, flirting, or copying just values, or filling the table. I really dont know what be easier.And then if i pick another month like October, do the same, etc.
View 1 Replies
View Related
Nov 1, 2006
In column A I have a list of text. There are blank lines in between the cell that actually contain text. What I am trying to accomplish is create a validation list that will give me only the cells with text in them and ignore the blanks. For example in column A1:A7 I have the following text:
John
Mike
Tony
Jake
My validation list will return those names but will also give me the blanks in between the names.
Is there any way to ignore the blanks?
View 4 Replies
View Related