Calculating Frequency Of Unique Texts Within Month Under Certain Criteria
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
ADVERTISEMENT
May 29, 2014
I have a signup record that expected to grow up to row 400. On the top, there's a monthly tally for reports. Column B to count the number of boxes taken and Column C for the users picked up the boxes.
Users should be accounted as one appearence in a month, regardless re-appearance in the same month or different month.
I haven't found the generic formula to uniquely count the number of users regardless their frequency in a month.
NOTE: Timings, box numbering format and usenames are randomly generated. Any similarities with real subjects will be coincidence only.
View 4 Replies
View Related
Dec 15, 2012
I am looking for a macro to delete rows that DO NOT contain criteria. But what I could achieve so far is deleting all rows except the first word ie ACC here. My code so far is as follows
[Code] ..........
View 12 Replies
View Related
Mar 11, 2014
Using frequency in a data validation formula for ensuring unique entries.
Currently I use COUNTIF($B$2:$B$244,B2)
View 4 Replies
View Related
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
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
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
May 23, 2009
I've searched the forum and believe this thread to be the closest to what im looking for, but its doesnt completely apply: matrix to list conversion. I have an attachment to support my questions (see attached). I have a matrix of words (strings) that contain repeating and non-repeating contents. The matrix also has spaces which are of no value. Essentially, the VBA needs to ' analyze' this matrix and create a consolidated frequency list (as shown in the file).
The matrices are HUGE and therefore some of the clumsy VBA i am using is turning out to be a bit inefficient. The file also contains formulas and such that I cannot use AutoFilter nor can I use Insert or Delete rows...so the VBA shouldnt use those either.
View 6 Replies
View Related
May 8, 2014
I am trying to create vba macro that allows me to calculate cost per month.
I have created a basic table with two columns
Cost
Month
200
Jan
300
March
150
Jan
470
April
150
March
I have another sheet , that has two columns
Month - Cost
Jan
Feb
March
April
I am trying to sum up the value on sheet1 and input into sheet2 on the allocated month.
So far logic , that I have came up with is.
I create a For loop statement that looks column and sort each month into an array.
Than the second loop will use the array to find the cost with the allocated array value to sum it.
View 2 Replies
View Related
Sep 27, 2006
I need to calcuate how many times a date( any date for the month) aprears in the list. it needs to be calucated by each indivual month form a list that will span over a 12month period.
the problem i'm having is how do i get it to only read the month that i want?
View 9 Replies
View Related
Jan 8, 2014
I have to calculate the flat revenue split by month between 2 different dates. The two dates may be in the same year or different years.
excel formula for the same.
Is it possible to do the same in pivot?
View 1 Replies
View Related
Jan 13, 2014
In cell A1 I have a date 1/1/14
I need to get the number of business days for the month that is entered in the cell. I tried NETWORKDAY formula but needs a start and end date.
View 3 Replies
View Related
Aug 1, 2014
I am looking for a formula that counts from each particular month
The main List has the following
Column C has all dates
Column D has hours worked
Column E has engineers name
The Second List is broke down into months and hours
Column I Has month ie I4=Jan 14, I5 = Feb 14 etc
Column J I need to have a total taken from column D from the month in column I
View 8 Replies
View Related
Jan 24, 2008
I trying to find a formula to give the difference between two dates in year and month.
For example, the start date is Feb 1 2006 and end date is Jan 1 2008.
The formula should result in 2.11
I tried the following formula from a previous thread but it gives the answer in text but I need it to result in 2.11.
[url]
View 9 Replies
View Related
Mar 14, 2013
I've managed to sort the first half of this issue, in that I can calculate the number of days within a given month which fall inside specified to and from date parameters..
The formula I've used is thus :
Code:
=IF(EOMONTH(A13,0)EOMONTH($I$9,0),0,IF(EOMONTH(A13,0)>$I$9,$I$9-(EOMONTH($I$9,-1)),EOMONTH(A13,0)-(EOMONTH(A13,-1))))))
This examines a date value (A13 in this case) and assess whether any days within that month are between the two date parameters specified in H9 and I9.
H9 = 01/01/2011
I9 = 15/05/2011
Jan-11
31
[Code]....
What I need to do now is specify a second set of date parameters in H10 and I10 and add those into the assessment. The dates will NOT overlap.
So, for example, if I were to set H10 as 01/07/2011 and I10 as 15/07/2011, the results would appear as below
Jan-11
31
Feb-11
28
[Code].....
View 3 Replies
View Related
May 11, 2006
I have a sheet with 3 columns. First one is a date in the format dd/mm/yy, second is category type (numerical 1-40) and then the final column is cost in the format 0.00. These columns will need to run from A2:A65536, B2:B65536 & C2:C65536 to cover all later additions. I need to work out a cost total for each of the categories in each month.
View 5 Replies
View Related
Jul 17, 2009
how to calculate the number of unique entries in a column? I have a column of email addresses and i would like to know how many of them are unique.
View 9 Replies
View Related
Aug 29, 2013
At the end of each month, my agency collects data about clients served in our programs. One of the many pieces of information they want is the number of "bed days" a client was residing within our programs for the given month.
For example:
Jon Doe entered the program on 7/16/13 and discharged on 8/15/13. I would like to know how to calculate the number of days in July that Mr. Doe was residing in the program. (The date of discharge is not included.)
I recently took over the responsibility of completing reports such as this one at my office. The previous person who completed the monthly reports would count the days by hand for each client, but I know there must be a better way.
View 6 Replies
View Related
Jan 16, 2014
I need to count how many unique ID numbers there are per month.I have figured out how to count the unique ID's for the first month (Jan) but after that I'm having trouble trying to get the count right for Feb and Mar. Formula I used in cell E2 is: {=SUM(IF($A$2:$A$14
View 7 Replies
View Related
May 16, 2013
I have data that has a customer name and the month that they were taken care of" (of course not spaces
Customer Month
Smith January
Smith January
Mark January
Suzy January
Smith February
Mark February
I want a pivot table to say:
Month #customers
January 3
February 2
but when I do the count it adds the total number of customer names and gives (it is counting smith twice in January
Month #customers
January 4
February 2
I was reading something about doing the count (so it shows 4) and then doing an index within the count but I keep just getting 1 as the value (for both months).
I tried doing a formula in the document that said =IF(ISERROR(MATCH(A2,$A$1:A15,0)),1,0). basically looking to see if the name is above the location I am looking at and if it is to put a 0 if not put 1 and then do a sum of that column....trouble is that when a customer has orders on more than one month, the second month is coming up with a 0 instead of a 1 (and this happens quite often).
I am not sure what to do. if the customer shows up in more than one month I want them to count towards the unique count of both january and february...we look at each month separately.
View 3 Replies
View Related
Mar 16, 2009
I have a spreadsheet which calculates the score for a particular item.
In cell M5, the answer should be 30 since the rating is 3 and weightage is 10 ( 3 X 10).
How do I automate this task via a formula ?
View 6 Replies
View Related
Aug 25, 2009
I have a data set that looks something like the following:
TypeAmountCost
A100$50
A200$40
A300$35
B250$40
B275$55
B500$60
A700$20
B350$25
B450$35
C400$80
C400$60
I am having trouble creating a formula that would calculate the weighted average cost depending on the type (i.e. weighted average cost of $28.84 for A, weighted avg cost of $70 for C).
View 2 Replies
View Related
Feb 27, 2012
I have a series of numbers in the column AB56 going downwards and in AC56 going downwards their respective counts in a data-set.
What I would like to do is find the average of the min and max, the min and max for the average calculation are both determined by looking at the count column, isolating the max, isolating the min, provided they both have a count greater than zero then averaging both results.
eg.
0.1562818960
0.1558039690
0.1553260431
0.1548481172
0.15437019 2
0.1538922643
0.1534143384
0.1529364124
[code].....
In this calculation the MAX is 0.155326043 because it has a count greater than zero, the MIN would be 0.138120697 as it has a count greater than zero, the average of both would simply be 0.1467. i.e. Average(0.155326043,0.138120697)
View 2 Replies
View Related
Oct 26, 2012
I have a column CF which has to calculate the due date based on start date in column X and end date in column Y.
This is achievable however; I have dropdown columns in CE which has below option.
Below is the requirement.
If user select "Should Pay" from drop down in column CE, then in column CF the due date has to be Start date + 7 days
If user selects "Not to Pay" from drop down in column CE, then in column CF the due date has to be N/A or Blank
If user selects "Has Time to Pay" from drop down in column CE, then in column CF the due date has to be Start date + 9 days
If user selects "Misc" from drop down in column CE, then in column CF the due date has to be (End date - Start Date)/8+7
if this can be attainable either via formula or VBA.
View 4 Replies
View Related
Nov 13, 2009
I find this difficult to explain, so have attached an example. I need to total all entries on a calender that are entered after a specific date. EG:
If the given date is 15 Sept 08, I need all values in Sept - Mar to be totalled. I am measuring data on numerous spreadsheets, all others have specific start dates and finish dates, so its a simple a1-b1 to get the number of days, multiplied by costs. This particular spreadsheet is laid out in calender format, hence the problem)
View 5 Replies
View Related
Jul 30, 2012
I am conducting some analysis on alarm data of certain devices and am looking for creating a VBA algorithm that will do the following (refer to the table below for example data)
I want identify an asset in alarm (Column F) and based on its asset ID (Column C) and Fault Description (Column D) then find the row when the asset with the same asset ID and fault description returns to an 'ok' Asset State. After the row where the same asset ID and Fault description is found where the asset state returns to 'ok', I want to calculate the total alarm time based on the difference between when the asset ID and Fault description goes from 'Alarm' State to 'OK' state from DateandTime Column.
I want the result to be populated in a new worksheet that displays data with the following column headings as a result of the above calculations: Date, Asset ID, Asset Description, Fault Description, Alarm Time
I have added an additional column to show the type of output I am after.
There are up to 20,000 rows of data I want to perform the above calculation on.
A
B
C
D
[Code]....
View 2 Replies
View Related
Sep 13, 2013
I have data in Columns A to P
Column B contains specific groups.
I need to show the following:
For each group what is the count in column P that is
View 5 Replies
View Related