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.

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.

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.

I have a situation where I have to curve fit data, this can lead to different formulas being used with varying constants.

Is it possible to pickup a TEXT based formula and related constants from other cells, and then place this into another cell as a functioning formula. For Example

Cell A1 contains the formula as a text string whether it be y=a+bx+cx^2, or y=a+b/x, etc Cells A2:A6 contain the individual constants, a, b, c, etc

I would then want the VBA to read the text based formula and put it into an output cell as a functioning excel formulae.g

In cell B10: =a+b*A10+c*A10^2

I understand picking the constants up and putting the formula should not be too much of an issue, however trying to insert the variable form of the curve fit is the part that I am struggling with, and am unsure if possible.

I have an existing formula in a cell linking back to a start date only. determining how to add an additional formula to exclude weekends, and possibly holidays.

I'm having some trouble trying to get excel to input a formula into a cell. I'm still a novice at VBA right now, so I don't think my problem will be too much of a brain buster.

I want a formula in Cell A6 (and I already know it correctly works) in this format: =E6&VLOOKUP(I6,'FA-Fund Data'!B$1:C$2000,2,FALSE)&J6

Is it possible to write a formula that skips x number of cells and have the formula autoincrement as usual. For an examples lets say I want to skip 3 cells and I have entered in the cells listed:

A1= "1" A2= "2" A3= "3"

Then I type in the simple formula in the cell B1= "=A1"

and then drag down but it skips 3 cells so then

B5= "=A2"

B9= "=A3"

If it didn't skip then B1= "=A1" B2= "=A2" B3= "=A3"

this is just an example as I will be writing more complex formulas and need some thing that I can write into the formula so that it skips.

I would like to copy a formula in a cell and then paste only the text of the formula, but I can't figure it out. Basically, I would like to avoid going into the cells and absolute referencing or hitting F2, then copying the text.

When I hit "Ctrl C" to copy the cell, then hit "Alt/E/S/F/Enter" to paste the formula, it is just like a regular copy/paste formula-wise in that the references move.

I have some student marks in columns B to F. If some one get below 40 marks he fails and the subject in which he has been failed will come in Remarks column. If he has passed in all subjects remarks column will show Pass.

To bring failed subject initial in Remarks i have to create 5 additional column and then thru Concatenate i joined them.

Is There any formula to show fail subject in Remarks column without creating 5 additional columns?

This task joins a string together based on a number of characters per cell in the range.

I want to isolate one range, Col N, and add an IF condition to it.

There may be other issues preventing this from happening, e.g. the number of IF that exist in the complete formula. I will isolate the current cell and its requirements and then post the entire formula at the end for reference....

I recently added a formula to a spreadsheet with som complicated formula. It worked ok and I saved the sheet. Now it takes 5 minutes to open the sheet and when I try to do anything,like delete the inserted column the program locks up giving a no responding message. I can do without this column if I have to.