How to calculate the average of a set of numbers through excel formula when I want to ignore few skewed values. e.g. 1,3,2,5,90,2,4,56. I want to calculate average of the above set by ignoring the effect of two skewed numbers viz. 90 and 56.

I am using a simple =Right(A1,4) is there a way to change this so it looks in cell A1 and if the is character is a zero then only give me the 3 characters fromthe right?

so if A1 = sweden 2041 it would give me 2041 but if A1 = sweden 0411 it would give me 411.

I am looking to average a range of cells which won't always be the same size. How do I create a formula array that will omit empty cells in my formula.

I am auto-importing statistics from the web via web query. This information imported has a number in the form of a decimal stated as either x.1, or x.2. x.1 represents x-1/3 (one-third) and x.2 represents x-2/3 (two-thirds). I need to use these numbers in a calculation after importing them, but using x.1 or x.2 obviously does not give me accurate results as the numbers should actually be x.3333333 and x.6666666 respectively. What is the easiest way to convert the imported numbers to their actual decimals?...

im trying to count all the cells with data in sheet 1 column g but it must omit any cells that have "vs" in it. all cells have scores in like 1-1 2-2 2-1 etc but a few have vs in them and i dont want them counted

I have pulled various data points from a pivot table into a summary.

My pivot table is located on a tab entitled "Pivots - All".

My summary tab is entitled "Open Summary".

My chart tab is entitled "Open Charts".

The formula within the summary cell that is pulling from the pivot equals =GETPIVOTDATA("Active Y/N",'Pivots - All'!$A$70,"Active Y/N","Yes","Leader","Eurich","Expected Tenure",4)

I have found ways to NOT display the zero values in the summary tab, but the column chart (which is set to use value as the data labels, continues to pull the zeroes in the chart.

Is there a way around this besides using the "clear all" within the summary? I refresh this data weekly and don't want to have to keep redirecting the cells in the summary to the pivot.

given code on this forum which created a "Search Box" on my spreadsheet.

The one thing that I would like to tweak however if that it finds the word/number that has been inputted in the search box itself (as well as finding the other genuine entries). Is there a way that I can search the whole sheet apart from cell C2 (The search box cell)?

Here is the existing Private Sub Worksheet_Change(ByVal Target As Range) Dim response Dim c As Range Dim more As Boolean

If Target.Count > 1 Then Exit Sub If Target.Value = "" Then Exit Sub

If Target.Column = 4 And Target.Row 4 Then Application.EnableEvents = False Target.Value = UCase(Target.Value) Application.EnableEvents = True Exit Sub End If

I'm working on a report for work in which I need to produce sevearl charts. For each of these charts I need to omit any values that are 0 or null. Since this report is going to be run several times a month and with different values it would be pointless for me to do it by hand.

In A3 is a surname, in B3 is a first name (and possibly multiple middle names, separated by a space). In C3 I'd like the first name ONLY and the surname

A3......................B3.................C3 Hobbs.................Jon Peter........Jon Hobbs Peters.................Mark..............Mark Peters Jones..................Bob Tim Mark...Bob Jones

In some cells the format (all in the same cell) is:

Broadly, my workbook contains 5 worksheets. Worksheets 1, 2 and 3 contain calculations, worksheet 4 contains a summary of calculations from worksheets 1, 2 and 3. Worksheet 5 is a data table used for worksheets 1, 2 and 3.

I need the worksheets to calculate in the following order: 1. Worksheets 1 and 2 extract data from worksheet 5. 2. Worksheet 4 captures that data. 3. Worksheet 3 uses the data from worksheet 4 and extracts data from worksheet 5. 4. worksheets 1 and 2 recalculate using the calculation from worksheet 3. 5. Worksheet 4 captures the refreshed data from worksheets 1 and 2.

Is there a way, using formulas in the worksheets, to ignore worksheet 3 on the first iteration of worksheets 1 and 2, and prevent recalculation on the second iteration of worksheet 1 and 2?

In my mind I can see Excel simply recalculating over and over again, or will it stop. Is there actually a "problem" here or am I perceiving something that will not occur?

In a database of names I use Filter- Advanced Filter - Unique records, to hide duplicated rows. Trouble is I don't know if there were any duplicated rows when it finishes. I would like to see the totals reflect this by not including them in the Countif function.

i need to lookup in a sheet for cells that start for example by "SE=", and copy them to another Sheet creating a list! But some of this cells started by "SE =" are repeated, like:

SE = cars SE = cars SE = cars SE = dogs SE = dogs SE = bike's

Is there a lookup function available that keeps the line breaks in from the lookup array? As shown in the example the Vlookup omits them, I have also tried with Index/Match, but its the same story.

I have a column that contains labels that are entered down to row 400. Below row 400 in the same column are formulas. If I do a filter on that column I get formula results in the filter list from the formula cells. Is there a way to omit the formula cells on the column that's being filtered? In other words, only list data in rows down to 400 in the filter list.

I want to omit null values from monthly averages I'm calculating for some in consistent data. Currently, the macro I wrote reads the empty cells and I believe is viewing them as zeros. When taking the monthly averages, in some cases on parameter 'X' might be sampled for a particular date at a location, but another parameter 'Y' isn't sampled for whatever reason on that particular date at the location. Therefore, there is no value in the cell for parameter 'Y' for that particular date (the value is null). When the macro runs, it sees the blank cell for the particular missing date, but I believe it still views that as a 0 value which it includes in the average, instead of overlooking that cell b/c it is an unknown. So, for example, it might thinks there are actually six actual sampling results instead of five, and calculates the average based on six being the total instead of five which seems to misrepresent the average. (e.g., it's currently viewing 2, 2, Null, 2, 2, 2 as n=6 instead of n=5)

If possible, I'd like to keep the structure of the code as below with only the minimal modifications to address this issue.

I do have Options-->Window Options-->Zero Values de-selected....

I want to calculate a date that is 28 days in the future. I don't want to exclude any days - However - if the end date falls on a weekend or holiday, I would like to push it out to the next business day.

I currently have the weekends covered, but am stumped on the holidays.

(For weekends, I am using the WEEKDAY function on a hidden sheet, and then the following 3 IF statements: IF today + 28 = Mon.-Fri., then give me today + 28. IF today + 28 = Sat., then give me today + 30. IF today + 28=Sun., then give me today + 29.

I have tried adding an additional IF statement to address a specific holiday - namely, President's Day on 2/18/08, which is a Monday - but it won't add the extra day, because I think my initial IF statement re: Monday being today + 28 is overriding it.

which results in a col and row number (such as D65).

The second cell has the following formula:

=INDEX('Zip Ranges'!$A:$B,MATCH($B$6,'Zip Ranges'!D1:$D$157,0),2) ^^ I wish to replace the 'D1" in the Match function with the results of the first cell's formula.

I assume Indirect would work, but I don't know how to code the formula to use it.

I copied and pasted a text file into excel. Now I am trying to sum the numbers, but the formula always equals zero. How can I fix this so that excel recognizes the numbers.

I tried copying 1 and pasting special values - multiply. This has always worked for me in the past, but its not working now.

writing a formula to sum the six largest numbers from a row of numbers. I have used the array formula "=SUM(LARGE(E2:M2,{1,2,3,4,5,6}))" and it works for rows that have six or more numbers; however, not all of my rows always have six or more numbers. Rows that have less than six result in "#NUM!".

I'm trying to wrap up a spreadsheet and I'm trying to figure out how to have my formula use the highest of 2 numbers when making a calculation.

For example:

If: Cell A1 = 5000 Cell B1 = 3828

I want the formula to use A1 in this case. However, if the total of B1 = 6000, I want the formula to use B1 instead of A1 in the calculation. (A1 = 5000 will always be a constant/base).

I am a school teacher trying to adjust my tracking sheet to calculate pupils levels. I am looking for 2 potential formulas that will do the following.

1 - In cell AE I would like to generate a formula that will take the data entered in cells J:5, L:5, N:5, P:5, R:5, T:5, V:5, X:5, Z:5, AB:5 and AD:5 and give an average level.

2 - In cell AH is it possible to generate a formula that will calculate how many levels of progress the pupils are making - In other words I need Cell I to be calculated against cell J to see how much progress the pupils are making - for example if in cell I:5, a pupil is was given a 3a, and then in cell J:5 is given a 4b, they will have made 2 sub levels of progress. As well as this, can that progress then be averaged out across cells I:5, K:5, L:5, M:5, O:5, Q:5, S:5, U:5, W:5, Y:5, AA:5 and AC:5 to give an overall number of of levels of progress? An then..... can I colour co-ordinate the cell so that if the pupils are making 3 or more sub levels of progress it turns green, 2 sub levels orange and 1 sub level red?

I'm trying to find a way to sort or use a formula to group same numbers that are positive and negative together for reconciliation purposes. What part of my spreadsheet looks like is this:

I would like a formula for cells B1, B2, & B3 that will give me the sum of the numbers in Column B which are next to their corresponding plan in Column A. The attachment is a sample of a sheet that will be having approx 500 rows to work with. I have tried using the "Sumif" funtion, but I can't seem to get it to work correctly.

I need a formula to take a 6-Digit Number and change it into a 7-Digit Number. Probably a if statement would better because i have 7 digit numbers in the same column with 6-digit numbers. I need to insert zero between the 4th digit and the 5th digit of a 6-digit number. For Example:............

I need a formula to show the numbers as they are when they are below 30, but when they go above 30 I need it to display 30 every time. I have attched a file.