Excluding Cells
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
ADVERTISEMENT
Jul 17, 2014
What I want to do is Average out a range of cells "F4:F343". That's the easy part =average(F4:F343). However I want to exclude any numbers for that average if data in coloumn "Q" = "FMC"
Would that look anything like:
=average(F4:F343)/countif(Q4:Q343, "<>FMC")
I'm also displaying it as minutes in a day so i added *24*60 to the end of the formula and formatted to Number/.00. I've entered the formula and it will calculate but when i enter FMC to the appropriate area the average wont change.
View 2 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
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
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
May 13, 2009
I wanted to average selected cells excluding the value zero. Also, I wanted to make the value of cell is zero and not to display the error #DIV/0! if the denominator is zero.
A1 = Denominator
Selected cell:
A3, A5, A6, A8
View 14 Replies
View Related
Dec 19, 2012
I need to calculate ratings 1-5 of questions on client surveys received.
I have recurring sets of data, A1:E1, a number 1-5 is to be entered into one of the cells within this range. This same pattern is repeated 25 times....G1:L1, etc. At the end I need to total all the 1s, 2s, 3s, etc. Then I need to calculate an overall pct for each question based on the totals for that question, divided by the maximum score (5) multiplied by the total surveys received. The problem I am having is that my formula below is counting empty cells, and not giving me a proper pct.
=SUMIF(A1:E1,">0")/(5*$B$1)
View 7 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
Nov 15, 2012
conditional formatting. I am using the code below to conditional format every Odd row with a background/border.
=MOD(ROW(),2)=1
I would like to know how to modify this, so that it only applies the format if the cell in column A on that specific row contain data and doesn't format blank cells.
View 2 Replies
View Related
Mar 15, 2013
I'd like to calculate the standard deviation and mean of a whole load of data. Unfortunately it has some errors, FALSE values, blank cells and zeroes I'd like to exclude. Calculating the average is no problem as the AVERAGEIF function works fine, but there is no equivalent for STDEV. The (array) formula
STDEV(IFERROR(E29:E32,FALSE))
ignores the cells with errors and calculates the SD, and the (array) formula
STDEV(IF(E29:E32>0,E29:E32,FALSE))
ignores the cells with a value of 0 in them and calculates SD.
How can I combine the two into one formula?
View 3 Replies
View Related
Sep 4, 2013
I have two lists of data as below, and I want to find a match after excluding "Ltd" or "Limited"
example
If Cell A1 is "ABC Limited", and Cell B1 is "ABC Ltd"
This should show as a "match", otherwise it should show error.
View 1 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
Jan 28, 2007
I am applying the sum function to a range of cells in a column. I've Auto Filtered my sheet to only include the data I need. Unfortunately, the sum function is adding everything in that column, even data from the 'hidden' cells that I've filtered out. I need to know what condition or parameter to apply to the sum function (or any other function for that matter), that will only add the data shown on my screen. Not the data that is hidden.
View 2 Replies
View Related
Jan 6, 2010
Is there a function that will count a column of numbers where that will eliminate counting empty cells based on a certain date that will also capture any numbers that is added after refreshing the table from Access? I have attached a spreadsheet for an example. I need to count on the number in column V that equals 13 for the date of 12/22/09.
View 5 Replies
View Related
Jan 16, 2012
First I will post the data:
Weekly Roster
F98AKHTAR99DEEPAK100NAPA'A101OUKASH102ROBINSON103RUSSELL104SALUNI105S
PARTIATIS106SPICE107TAN108TORRES. Jr109VAN STEEN110ACCIARITO111112113114115116117118119120
In this data, as you can see there are a lot of cells/rows that are empty. I have a macro that will copy the cells F98:F120 to F99:F121 and then copy F121 to F98, and finally delete the value from F121. In this case, it will give me a blank cell at the top and the data hasn't rotated really. All the names will be in same position.
But I DON'T want that. I want the macro to look for the last cell/row with a valid value in it and rotate the cells so that I end up having ACCIARITO at the top and everybody else to move down one row.
View 6 Replies
View Related
Jun 29, 2012
I have the following formula which works perfectly unless one of the cells has a value of zero;
=MIN(SUM(AD13),MIN(SUM(AK13)))
When AD13 = £60.00 and AK13 = £94.00 (or vice versa) the formula returns £60.00, which is correct. BUT when AK13 = £0.00 obviously the formula returns £0.00, but I would like the formula to still return £60.00.
How this can be done?
View 3 Replies
View Related
Jun 2, 2014
I have a worksheet where I capture the date and time of each new entry in column A.
In the next column, it's counting up the number of hours since that entry was made. However, it's including Saturdays and Sundays in this count and I was wondering if there's a formula to calculate the number of hours excluding Saturdays and Sundays? I know that network days would count the number of working days from one date to the next, but really need hours. Is this possible?
View 3 Replies
View Related
Dec 24, 2008
I have the following code from a form. It works just fine copying named ranges from one sheet to another. The probloem now is that I don't want to copy the characteristic of the formating or whether they are protected or not. The originating spreadsheets have cells that are protected. I am trying to copy those values over to the new sheet and paste their values or formulas but not their formatting (background color) or the fact that some of the cells are 'locked'. I want the new sheet to have the values and formulas but not the be lock for the user. Is this possible with the current way I do the code or do I have to rewrite it? How would you approach this?
Private Sub CommandButton1_Click()
Import_Data_Form.Hide
Run "NPA"
Set b = Selection
ad = b.Address
' Local Variables
Dim wkbDataFile As Workbook
' Let user select source datafile
Call UserSelectFile_WOpen(wkbDataFile)
If wkbDataFile Is Nothing Then
MsgBox "User did not select a workbook to open"
Exit Sub
End If
Application. ScreenUpdating = False
Set wb = ThisWorkbook
Application.DisplayAlerts = False
View 4 Replies
View Related
Apr 11, 2005
I need to protect my worksheet and only allow users to edit certain ranges. I am allowing the use of autofilter which I can select when I apply protection. However, I am now aware I cannot sort protected cells..which is essential. I basically need to be able to sort a column titled 'surname'. The worksheet is a record of pupils attainment in my class.
Now, I have a macro which seems to do the job: ....
View 9 Replies
View Related
Dec 20, 2007
Trying to put together a macro that looks down active sheet for all cells that contain a value, sets a print area and then prints !
Is this possible?
FYG, I have a column that run from 3 - 2000, which contains a formula, which may produce a value depending on corresponding cells.
I used this code from a post on a similar topic, but excel is complaining code
in bold
Private Sub Print_Area_Click()
Dim lastCell As Range
Set lastCell = Cells.SpecialCells(xlCellTypeLastCell).Offset(1, 0)
Do Until Application.Count(lastCell.EntireRow) 0
Set lastCell = lastCell.Offset(-1, 0)
Loop
ActiveSheet.PageSetup.PrintArea = Range(Cells(1, 1), lastCell).Address
End Sub
View 9 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
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
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
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
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
View Related