Frequency With Conditions / Criteria
Mar 6, 2008
I've tried to adapt a formula I've found in the forums. But the result comes back at a figure much lower than I expect.
I have a column of numbers (column J)that I would like the frequency of but only if the date contained in another column (column R) is beyond a certain date.
Columns J & R do contain blank cells.
This is my adaption: -
=COUNT(1/FREQUENCY(
IF('Current Bonds'!$R$13:$R$490>39173,
IF('Current Bonds'!$J$13:$J$490>0,'Current Bonds'!$J$13:$J$490)),
IF('Current Bonds'!$R$13:$R$490>39173,
IF('Current Bonds'!$J$13:$J$490>0,'Current Bonds'!$J$13:$J$490))))
View 8 Replies
ADVERTISEMENT
Aug 21, 2007
I have a condition that it only applies to criteria before a certain date but I cannot get it to give me the right answer.
Original Formula ...
View 3 Replies
View Related
Jan 5, 2009
I have a list of 267 individuals who are each in one of 4 class designations (A,B,C, & D). They produce widgets for me. The individuals’ names are in A2:A268, their class designation is in B2:B268; and the number of widgets they each produced is in C2:C268. Row 1 is a header row.
I used the FREQUENCY function, for the first time, to show how many of the individuals produced 1-10, 11-20, 21-30, 31-40, 41-50, 51-60, and 60+ widgets last year. NOW, I’d like to take it a step further and show the number of individuals that produced widgets in each of these number groupings, but want it further split out by their A, B, C, D, class designation. So, I want to see how many individuals in the “A” class that produced 1-10, 11-20, 21-30, etc. widgets; and how many individuals in the “B” class produced those numbers, etc.
I’ve been playing around with using the COUNT and IF functions together and the FREQUENCY and IF functions, but have not been successful. Am I making this more complicated than it is? By the way, their class designation doesn’t have any relation to the number of widgets they produced, and the data is sorted alphabetically by the individuals’ names.
View 2 Replies
View Related
Mar 26, 2013
I worked out the formula below to count if frequency. However, now I need to work it out for 2 criterias.
Count if I:I = A2 and if R:R = Closed
What I have so far is this:
{=COUNT(IF(FREQUENCY(IF(ticketInformation!I:I=A2,ticketInformation!B:B),ticketInformation!B:B),1))}
View 2 Replies
View Related
Jan 10, 2008
I hope someone can help me with adding an additional criterion to the formula below, which works and provides an accurate answer. The array formula is:
{SUM(IF(FREQUENCY(IF('Sheet1'!$O$5:$O$315="",IF(Sheet1'!$B$5:$B$315"",MATCH("~"&'Sheet1'!$B$5:$B$315,'Sheet1'!$B$5:$B$315&"",0))),ROW('Sheet1'!$B$5:$B$315)-ROW('Sheet1'!$B$5)+1),1))}
Where Column O has either a date or is blank.
Where Column B has a unique ID number which occurs more than once.
What I need to add is one more criteria from Sheet1,
Where Column P has a unique names which occurs more than once.
I tried two changes:
1. Adding an additional IF statement as follows: SUM(IF(FREQUENCY(IF('Sheet1'!$P$5:$P$315=A$8,IF('Sheet1'!$O$5:$O$315="", ... Which I couldn't get to take; and
2. Adding a IF AND statement as follows: SUM(IF(FREQUENCY(IF(AND('Sheet1'!$P$5:$P$315=A$8,'Sheet1'!$O$5:$O$315=""), ... Which took but gives me a #VALUE error.
View 9 Replies
View Related
Jul 10, 2007
I have a column of race results in A:A, ie (1,2,3,4,5 etc placings) and need to count the highest frequency of 'outs' not wins (wins being #1 ) between wins, and also the highest frequency of wins in succession.
View 3 Replies
View Related
Feb 25, 2013
I need to get a general formula which if possible, automatically calculates the frequency of unique texts (no duplicates) under a particular month (January) without manually inserting the cells which is under january. If possible, the formula will also check to see if the company is either Cash or Cheque.
I have three columns; Date, Company name and Payment mode.
Date ranges from 1 jan 2010 to 31 dec 2012. Cell A2 to A234
View 1 Replies
View Related
Oct 28, 2006
I have recently started using formulas in Excel therefore cannot really crack this problem down. In my worksheet, I have a column (A2:A200) which stores dates starting from Jaunuary 1st 2006 to January 1st 2007. The second column (B2:B200) stores the expense type (i.e: Maintanence, gas, lease payment), and the third column (C3:C200) stores the amount spent on the given date and expense type. What I would like to do is to create a formula which calculates the amount spent on maintanence, gas, lease payment during January, February, etc:
View 2 Replies
View Related
May 9, 2008
Really struggling with this one. Can't seem to figure this out on my own. I'm trying to populate a value from a table based on two given values. The first given value will be an exact match, and the next given value sholud fall within a range. In real life terms, given the category of a security and the months to the maturity date, I'm trying to return a percentage rate to use for another calculation. The rate is given in a Table (Column I in the attached). See attached for example
View 5 Replies
View Related
May 24, 2008
I have an excel sheet with different data columns (Column A = date, Column B = Production line, column C = total production of the line for the month, column D = complaints per milion). Within the same sheet Columns E through L have formulas and fucntions that uses Columns A thru D for calculation. Also every month a new row is added to the sheet, populating of course Columns, A, B, C and D and the other columns E thru L are populated automaticaly with the functions/formulas i have in place.
My question is within the same sheet I have 4 fixed cells I2, J2, K2 and J1. J2 and K2 depend on I2 and K2 values. Since my date changes every month (the inserion of new rows). I would like if someone can help me in how those cells I2 and K2 can be updated when i enter a value in Column C/ cell?? (??=next blank cell). I2 and K2 calucalates the averages of the last new 17 cells of columns H and L respectively.
So all i need is that cell I2 and K2 be updated automatically as soon as i add the new value in column C Example
This month
C22 = 12345 I2=Average(H5:H22) and K2=Average(L5:L22)
Next Month
C23=78901 I2=Average(H6:H23) and K2=Average(L6:L23)
So I type the input in column C everything is updated automatically. Again i dont know if i can do that with the if/offset, etc or if i need a macro.
View 5 Replies
View Related
Dec 16, 2013
I'm having trouble with doing a similar thing with conditions/criteria based on arrays for different formulas (e.g. IF, COUNTIFS, SUMIFS).
Here's what i'm trying to condition and than use different formulas:
column A - Region
1. Europe
2. Europe
3. Asia
4. Asia
5. America
6. Asia
7. America
8. America
9. Europe
10. America
[Code] ....
QUESTIONS
1. (IF, AND ?)
For all cases listed in column A that have "university" in the column B, If there is at least one case having "Europe" write 1, if there isn't write 0.
The conditions are "Europe" in column A and "university" in column B.
If there are cases like that, I want formula to produce 1.
If there are no cases like that, I want formula to produce 0.
* In this example the formula would produce 1. for "Europe" and "university".
* If the formula was looking for "Oceania" in the column A with "university" in column B it would produce 0.
2. Using COUNTIF with multiple criteria.
Count all of the cases that have "Europe" in column A and "university" in the column B
The conditions are "Europe" in column A and "university" in column B.
If there are cases like that, I want formula to do count.
* In this example the formula would produce 2 for "Europe" and "university".
* If the formula was counting "Oceania" in the column A with "university" in column B it would produce 0.
3. Using COUNTIFS with multiple criteria.
Count all of the cases that have "Europe" in column A, "university" in the column B and "GER" in column C
The conditions are "Europe" in column A, "university" in column B and "GER" in column C.
* In this example the formula would produce 2 for the 3 conditions.
* If the formula was counting "Oceania" with "university" and "GER" it would produce 0.
I've spent a lot of time searching the Internet for this (e.g.how to use IF with an array, about different functions and formulas...) and found nothing that works.
For COUNTIF(S) they just didn't work, event with ctrl+shift+enter.
View 7 Replies
View Related
Jul 7, 2009
I have a cell that I need to make a calculation if certain other cells =Y, or to show "0" if the other cells =N. I can do the calculation for the Y part but how do I add the N part of it? Here is what I have:
=SUMIF(J19:J40,"Y",H19:H40)*0.08
View 13 Replies
View Related
May 7, 2007
We are trying to list only certain cells that have a specific conditional format- this is so we can copy them to another sheet
A filter does not really work for us since we have over 5 columns to search on and over 800 records
This is how excel says to find cells that have a conditional formatting (for example the scores are red because the student scored between 350 and 370: I tried it and it doesn't work--but maybe that is not how it is suppose to work?
To find cells that have conditional formatting settings identical to the settings of a specific cell, click the specific cell.
On the Edit menu, click Go To.
Click Special.
Click Conditional formats.
Do one of the following:
To find cells with any conditional formatting, click All below Data validation.
To find cells with identical conditional formats, click Same below Data validation.
View 4 Replies
View Related
Mar 17, 2009
Im trying to have a formula look at two diferent columns and if they meet the criteria add the third column.
I tried using sumproduct but It wont give me anything but error messages or a zero.
Looks like this
=SUMPRODUCT(A:A="Stewart",(G:G="Fiduciary"),C:C)
Need it to say:
if column A = Stewart and Column B = Fiduciary then add up the amount in Column C
View 9 Replies
View Related
Jan 15, 2010
I want to be able to look at two columns and set a criteria to count. I want to look at column A and if its blank then look at column B and if it has a value of more than 0 then count.
A B
1 1.00
2 Yes 4.78
3
4 5.00
5 Yes 4.89
6 11.99
So this example would count 3
View 3 Replies
View Related
Jun 1, 2008
I am trying to query a names sheet where each row may contain more than one occurence of a member ID. There are no duplicate rows ( records), because the dates are different for all rows.
1. I want to retrieve all of the rows from the names sheet that match a unique member ID. So far I only get one row.
2. And if mistype the number, it gives me a wrong record .I would like to get an error message that if I don't get a match, that it appears in the somewhere like dialog box or even entry in one of the cells that no name exits.
View 4 Replies
View Related
Oct 17, 2007
I would like to highlight cells is two conditions are met:Cell = 0Offset(0,-1)>0I tried the conditional format wizard and entered a formula: =IF(AND($J2=0,$I2>0)) But I keep receiving formual errors, which I understand, because it appears to be incomplete formula. But I am not sure what else I need to add to the formula in the conditional format wizard
View 2 Replies
View Related
Oct 16, 2009
I'm trying to divide my data into 6 different groups, based on 2 different criteria. First, I am not sure how to write the logical test to take 2 columns of data into consideration (using "&" and "AND" do not work; I am not sure what else to try), and second I can't figure out how to write the formula so that it can select from 1 of 6 conditions.
So, overall here is what I want:
If DL2=3 and CK2=1, then I want this to be labeled as '1'
If DL2=3 and CK2=2, 2
If DL2=1 and CK2=2, 3
If DL2=2 and CK2=2, 4
If DL2=1 and CK2=1, 5
If DL2=2 and CK2=1, 6
These 6 conditions cover all possible combinations of numbers in the two columns.
View 13 Replies
View Related
Dec 20, 2008
how can data sorted be more frequency as most frequent on top and as the following:
1
1
1
2
2
3
3
3
3
to
3
3
3....................
i attach file
View 3 Replies
View Related
Jan 31, 2006
I have a large data set. Within the column I have determined the mode. How
do I find the second most common number, third most common, etc.?
240
240
240
240
240
240
240
240
288
288
288
300
View 10 Replies
View Related
Mar 9, 2006
I have a grid of random numbers. What I want to do is make a new,
corresponding table that has those numbers' frequencies from the initial
dataset.
So, if I have a row 1,2,3,4,5, the first row in my frequency table shows the
frequencies for those numbers, whatever they might be regarding the entire
set of numbers.
I'm just wondering if there's a more automated way of doing this than
running the historgram function and then manually matching the frequencies
with the original numbers to come up with my table. My dataset is growing,
so that's becoming too time-consuming.
View 9 Replies
View Related
Apr 14, 2014
I have ID in column A and amounts in column B. ID's are duplicated, and I need to add amounts based on ID, so for example total of ID 156 should be $13,851.14 or 156 should be 7,290.63.
In the following example ID are in order, I need a formula that adds up the amounts in column C.
152
(14,542.81)
152
(199.25)
153
(37,554.98)
153
(19.92)
[Code ...........
View 5 Replies
View Related
Sep 15, 2009
My data is on order database as follows:
column B: customer name
column H: order value
column C: Total Order Value for the customer calculated as =SUMIF($B$2:$B$36383,B2,$H$2:$H$36383)
column D: number of orders for that customer, calculated as =COUNTIF($B$2:$B$23155,B2), and defined as a range called No_of_Orders
I'm trying to work out how many customers fall into the various categories. So on sheet 2, I've got an array formula:
{=FREQUENCY(No_of_Orders,$F$4:$F$12)}, where F4:F12 contain the 'bin' values.
The trouble is, that gives me the number of orders that fall into each category, not the number of customers.
How can I get it calculate the number of customers?
View 9 Replies
View Related
May 29, 2008
I have large spreadsheet that analyses the number of times specific characters etc appear in individual cells, but only takes into consideration the filtered cells. My current formula that works fine is:
= sumproduct((subtotal(3,offset($c$66,row($c$66:$c$6959)-min(Row($C$66:$c$6959)),,1))),--isnumber(search("F",$s$66:$s$6959)))
So at the moment every time an F or other specified values is in one of the filtered cells it is counted and displayed in the respective cells. What I would like it to be able to do is recognise when a cell has say 3 F's, and increment the displayed product accordingly.
View 6 Replies
View Related
Apr 9, 2014
I need a formula that can lookup the sell price with the highest frequency. For example, I need to look up item 2100 in sheet2 and sheet1 contain data for vlookup like this:
ID No_Frequency Sell Price
2100 4 2.99
2100 5 3.49
2100 1 1.99
I need to be able to look up and return the sell price of 3.49 since it has the highest frequency.
View 4 Replies
View Related
May 5, 2014
In column A, I have dates.
In column C, I have shopping centre locations.
One or more sales promoters can be rostered at shopping centre locations performing full shifts and half shifts.
How can count the unique dates associated with the shopping centre using a Start date and an End date? Example below.
Col A Col B Col C Col D
02/03/2014 Joe Shopping Centre #1 D1=01/03/2014 (start date)
02/03/2014 Bob Shopping Centre #2 D2=10/03/2014 (end date)
02/03/2014 Lee Shopping Centre #1
07/03/2014 Tim Shopping Centre #1
07/03/2014 Kay Shopping Centre #3
12/03/2014 Joe Shopping Centre #1
The results for the Frequency formula should show:
Shopping Centre #1 - 2 (dates)
Shopping Centre #2 - 1 (date)
Shopping Centre #3 - 1 (date)
View 3 Replies
View Related
Mar 26, 2014
Sample Excel with Frequency.xls.Attached a sample sheet with some data. What I'm trying to do is combine the frequency function and add another variable. Not sure how to do this. I'm using Excel 2003, so I don't think I can use "countifs".
View 2 Replies
View Related
Mar 8, 2009
I am looking to find the frequency of times 1 number appears with another number in a row in a table
Click here for an example
or see the attached spreadsheet. I included the excel 2007 and 2003 versions.
View 6 Replies
View Related
Jan 3, 2012
I need to count the number of times a word appears in a column in a pivot table and add the total value in the next cell minus 1 if the number is more than 1.
MANAGER
(All)
QA
(All)
Count of 1ST LVL ERROR
Error Type
Count
[Code]...
The totals in C come from a pivot table created from the data in a separate sheet. I need to dynamically show who made an error and the frequency of that kind of error. I've gotten the Error Type count to display according to the word in column B, but column C will show how many times that a specific notation was made.
For example:
"Annualization" appears in column B 3 times, but column C shows that one of the descriptions is listed twice in the separate sheet. The current formula shows 3, but it needs to count the 3 in B, then add any number that is more than 1 minus 1 in the relative C cell to yield 4.
This is my count array: =SUM(LEN(B6:B4506)-LEN(SUBSTITUTE(B6:B4506,D6,"")))/LEN(D6)
I've also used: =COUNTIF(_1ST_LVL_ERROR,"*"&D6&"*")
I don't know how to get the second column to factor in, though.
View 1 Replies
View Related
Jan 9, 2013
I have a column of names and I want to find the frequency that each name occurs per row, but the cells have a string of text. For example:
Column A:
John Dimon, Matt Carpenter, James Chan, Gary Smith
Matt Carpenter, Leo Monroe, Craig Thomson
John Dimon, Matt Carpenter, Larry Barclay
I would like a way to count how many times each name occurs in the column. So John Dimon would be 2, Matt Carpenter would be 3. I tried countif but it doesn't seem to work with a string of text.
View 5 Replies
View Related