Excluding Outliers When Using Formula
Jan 16, 2012
Is there a way to exclude outliers when doing a calculation? For example, I am calculating the degradation in sales for a given period. During that period a store may have had an extraordinary sales day that is skewing my slope up/down.
Store9/19/29/39/4Slope Should ReturnA15145013-1B131450151C1511413-1D13141151
View 2 Replies
ADVERTISEMENT
Oct 14, 2009
Is there a good way of excluding an outlier in an average calculation. In the example below will I exclude 1000 from the average-calculation.
The way to decide excluding-values can either be a percent based on the range or everything that is a higher than a user defined value. It can also be more than one outlier.
A user defined function is OK with me, if it is impossible to use the built-in functions.
View 6 Replies
View Related
Mar 28, 2005
I need to remove any data which is say 20% above or below the overall observed data, in order to compute simple High, Low and Average excel function calculations.
Is there any way to remove such outliers when calculating averages, lows, highs etc?
View 2 Replies
View Related
Jun 13, 2013
excel formulas and currently have a very large excel sheet with over 1400 rows of stats from hockey games. For reference will call it Sheet A. I have the stats broken down by month from each season, and under each month I have 6 rows of "Totals" for that month which I would like to exclude. For example monthly totals for games at home(row 12) monthly stats away(row 13) etc. columns include stats such as Goals scored, goals allowed etc.
I want to pull highest and lowest numbers (excluding the totals rows) from each column in sheet A in to sheet B which would be a franchise records sheet. I'm looking for a formula to make this happen. I have tried the MIN and MAX formulas but am unsure of how to exclude those abve mentioned totals rows of sheets.
View 5 Replies
View Related
Feb 27, 2014
I have formula for working days which excludes holidays :
[Code] .....
Code works but I have monthly worksheet and macro for adding days in month. This formula's end date is in AI2 cell, which corresponds to 31th day of the month. Problem is that I get #REF error across all sheet when I delete last day columns, in month which have less than 31 days.
I know that this is the cell reference error because cell AI2 is deleted, but is there any solution for changing networkdays formula or replace It with something else that will work same, with range maybe ?
For now I just hide columns, which is o.k., but I would rather delete columns...
View 7 Replies
View Related
Jun 1, 2009
I have a macro that deletes the active row. However if any cell within rows 1-8 are selected then I want the sub to end with an error message i.e. (Cannot delete these rows) The code I have tried is below but doesn't work:
View 2 Replies
View Related
Mar 25, 2009
I have tried a number of different ones from my search of this forum but I'm getting an error. here is a sample of my spreadsheet.
I want it to give me the lowest number, I don't want it to look at the 0's or if the cell is blank.
Here is my formula and my error:
=SMALL(N196:N203,COUNTIF($N$196:$N$203,0)+1)
my error is #num!
I've also tried others including using the MIN function but either 0 is entered or the error above.
3402414
View 9 Replies
View Related
Jan 19, 2014
1. I use this formula to count a number of items in a column per month: =SUMPRODUCT(--(MONTH(B6:B500)=8))
I also have another column C where I put some descriptors against the values in column B. I need a formula to calculate a number of items in Column B, except for those items, which are equal to XYZ in column C.
2. I also calculate a number of items, which were completed in a given month. Completion is marked with "Y" in a separate column (D). I use this formula: =SUMPRODUCT((YEAR(B6:B999)=2013)*(MONTH(B6:B999)=12)*(K6:K999<>"Y")). I can't make it count a number of completed items in January. C
View 8 Replies
View Related
Jun 4, 2009
I am currently working on a football spreadsheet ranking players based on their fitness performance scores. For example, there are 14 persons on Offensive Line. I need all their test scores ranked out of 14. However, if there is a blank, I still need the test scores to be ranked out of 14.
As of right now, I have cheated, and inputted a random number to bypass the blank:
=IF($G12>10, 0,RANK($G12, $G$12:$G$25,0))
But, this now affects my average of the fitness testing scores for that position. This could be avoided if I could find a way around my first problem.
View 9 Replies
View Related
Aug 6, 2012
I want to create a formula that works out the number of days between two dates but excludes weekends?
View 3 Replies
View Related
Jun 29, 2012
1 workbook, 2 worksheets (or tabs). On tab 1, I want a formula/alert that tells the user if any duplicate values exist in Column A of tab 2
Tab 2, Column A, has Unique ID's (6 digit numeric values)
The user manually inputs the ID's on new rows in Column A
Row 1 is reserved and in use for something else
Row 2 is my header, so cell A2 says "ID"
Row 3-623 currently contain unique ID's
When the user inputs a new ID into cell A624, then they return to Tab 1, I want my formula/alert on Tab 1 to tell the user that they have duplicates in Column A of tab 2. I know the Conditional Formatting, but if the user copies in 100 new values, they won't necessarily see the highlighted cells. My tab 1 is my "checks and balances" and the last place the user is suppposed to look to ensure that they haven't created any duplicate ID's. If the user sees a warning message that says duplicates exist, then I'll tell them that they need to look at column A (for cells that have been conditionally highlighted).
One issue that I'm running into with the conditional highlighting is that I want cells A3:A1048576 to already have the conditional formatting - this way when the user inserts a value into Cell A624, then A625, etc they conditional formatting is already there. Right now with data in cells A3:A623, cells A624:A1048576 are all highlighted with the Red/Bold Red Font (which is okay I guess), but ideally it would be nice to not count 2+ empty cells as duplicates and I'll have to have my formula on Tab 1 not include the blank cells.
I DO NOT want to use the Remove Duplicates feature of Excel 2010. If I remove them I could be removing data in columns B, C, D, etc that belong to the Unique ID. I just need the user to be told in Tab 1 that they DO have duplicates and I'll train the user how to research this and fix it.
The reason I want to look for duplicates in the entire Column A is because the list of Unique ID's will grow over time.
View 9 Replies
View Related
Mar 26, 2009
I am trying to come up with a formula that will count everything excluding 1 in one row, while looking at another row to determine the group.
The attached example explains things a lot better.
I am going to have 2 formulas. 1 for the "Big" group and one for the "Small" The formula needs to look first at the column that has the group in it. Then it needs to count everything is column A excluding "Snake" And return the value.
View 2 Replies
View Related
May 19, 2009
I have a COUNTA function that I'm using. However, I want to exclude "N/A" from my count, what is the function that I need to use to do that.
Currently I have =COUNTA($C$10:$C$122). How do I modify this formula so it doesn't include "N/A" in my count.
View 14 Replies
View Related
Feb 3, 2009
I have three columns that i've called 'active period' and 'Date/time' and 'value'
The the value of the cells in the 'active period' column depend on the value and time.
I want to create a cell that; when i can enter a date, this date will be excluded from the 'active period' column
View 9 Replies
View Related
Jan 30, 2014
I have pivot table that is pulling data from a page that is using the vlookup formula. I would like the table to only include fields that have data in the count. However, the pivot table is registering cells that have "0" (i.e., there's no actual data in the cell it is pull from) as having data. How can I get the pivot table count to ignore these cells?
View 1 Replies
View Related
Feb 11, 2014
On the attached spreadh sheet I have production costs that I wish to calculate. There are certain courses that are a constant each month and they are input via a data validation list, however there will be courses that are run that are not on this list.
on the cell with 'Other' I want to total the costs for the courses that exclude the normal monthly courses.
Ive managed to use the formula below to exclude certain text but I cannot do it for multiple keywords, or maybe there is a simpler formula.
=SUMPRODUCT(--(G4:G31>0),L4:L31,--ISNUMBER(FIND("Suicide",G4:G31)))
View 3 Replies
View Related
Apr 2, 2009
I can find the min value excluding zero in a range of contiguous cells, but how can I do it if the cells are A1, A3, A25, A67, etc?
View 9 Replies
View Related
Dec 15, 2009
I am trying to automatically add up data, excluding that last two data points in a row. And every month add the next data point based on the date of the spreadsheet (top left). see trail below... This sting is going in circles.
View 14 Replies
View Related
Dec 16, 2009
I have the the following formula =SUMPRODUCT(--(dealer1=$B36),--(make=$A36),--(company<>nominated))
The first two statements work alone, however I have an array which contains a list of customers that I wish to exclude from the total. I've put those in an array and called it nominated, However I just get #N/A.
View 4 Replies
View Related
Jul 17, 2013
I've been asked by one of our Managers to generate a report on stock that hasn't been sold for x amount of time. Unfortunately with our accounting package the report I run also includes stock that we may have purchased recently but have not sold.
So what I did was generate a report for stock that hasn't sold in the last two years(NOTSOLD), and then a report for stock that has been purchased within the last six months(PURCHASED). I've put both of these reports into two worksheets.
What I'd like to do now is match up stock codes across the two worksheets and exclude the PURCHASED stock from the NOTSOLD stock.
My Excel knowledge is limited but to put it in beginners terms I'm basically looking to do a reverse VLOOKUP.
View 1 Replies
View Related
Dec 28, 2005
I am trying to sum data in a column based on the absence of a character in a related column.
That is to say I need to be able to exclude rows that contain an "m" (there may be multiple characters in the criteria cell)
View 10 Replies
View Related
Sep 27, 2007
I have a worksheet which calculates dates a product will be manufactured based on how many hours the job will run.
The first column has the starting date of the job which I input. The second column contains the date the job will finish based on a third column which contains the hours the job will run. The calculated ending date is then put into the starting date of the 2nd job. It continues to calculate down to the last job.
This calculation is based on a 24 hour day, 7 days a week. I would like to take out Sunday's in the calculation.
View 14 Replies
View Related
Jun 30, 2012
I am creating a quote sheet that will have data entry for: customer name: company name: (Can be blank if customer is private)
Customer billing address
street:
City:
Postal code:
[Code]....
View 4 Replies
View Related
Mar 21, 2013
I am generating a spreadsheet that focuses on a target opening date. There is about 12 other headings along the top all stating the different phases of construction, permitting, etc. I need to exclude weekends and holidays from most of these columns, and only exclude holidays from about 2 of the columns. I think I am to use the formula for NETWORKDAYS, but not sure how or where to incorporate it.
View 9 Replies
View Related
Jan 5, 2007
I want to sum a range of cells that are referencing another spreadsheet using a vlookup function, eg:
#N/A
#N/A
#N/A
51
78
73
i dont want to delete the formulas that are returning the #N/A but i want to be able to sum only the numeric values from the six cells.
View 9 Replies
View Related
May 18, 2009
I have a list of numbers that I want to average. Problem is, some of the numbers contain zeros and i want to exclude these entries.
So, if I had a list of 6 values and 3 were zero, I'd want to sum the list and divide it by 3 (not 6).
View 9 Replies
View Related
Apr 13, 2014
I've got set of data in columns B, E,H,K, N, Q, T and W. Some of columns are with if-error and some are not (Attachment). I want to find the average excluding if-error data columns. Another way, columns with if-error data should not be counted when average is calculated(In column X).
View 3 Replies
View Related
Jan 26, 2014
I am trying to calculate an average of 800 cells, where I would like to exclude a cell when a certain character is in it, namely "<".
View 4 Replies
View Related
Jun 5, 2014
how to count days excluding only sundays in a calender period.
"weekdays" excludes both saturdays and sundays.
View 3 Replies
View Related
Jul 19, 2014
Is there a way of Copying the Characters in a Cell but excluding the text from the copy.
EG:
305 GP
1,328 GP
10,250 GP
1,337 GP
But i only want the numbers and not the GP.
GP is Always at the end.
View 8 Replies
View Related