i need to write my own frequency function and after that make some modifications. here is the thing: i dont know how to run over ranges and i dont really know how to start.
FREQUENCY(data_array,bins_array)
Data_array is an array of or reference to a set of values for which you want to count frequencies. If data_array contains no values, FREQUENCY returns an array of zeros.
Bins_array is an array of or reference to intervals into which you want to group the values in data_array. If bins_array contains no values, FREQUENCY returns the number of elements in data_array.
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?
In the attached file I have an example. I've used the Frequency array function to get the distribution of results from some sample result data (50 results). I want to use Solver to change the Bin values to what they would need to be to provide a desired distribution, such as in the example file. I've tried setting the target cell at either the sum of the frequency results or sum of their percentage distribution (100%), and set contraints either frequency results or percentage distribution respectively, along with Bin contraints being consectutively larger (requirement of the Frequency function). Alas, I can't get a solution, only the response of "Solver could not find a feasible solution".
I have to write a VBA code for log all activity on current worksheet (modifications). I share a file with another 50 collegues and all make odifications to this file. I want to transparently trigger a logger on Save action occurs. I only want to know a method to log cells modifications. I'll put the values on a text file - example: "The user (current windows user) modified cells: A1, A4, C7, B8 .... on 14.08.2007, 11:23 PM"
I need to modify 2 Excel built-in dialogs via VBA. Here is the first dialog box:
Application.Dialogs(xlDialogWorkbookCopy).Show
First, in the "Move or Copy" window, where it says, "move selected sheets to book:" I'd like the default selection to be the open workbook instead of "(new book)", which is the current default. How can this be done?
Second, I'd like to remove the check box so there is no option to copy visible, however, I need to add the code in the sub procedure to make a copy. How can I do this?
The second dialog box I need to modify is this one:
Application.Dialogs(xlDialogPageSetup).Show.
What I need this to do is open with the tab" Header/Footer" visible as a default, or, better still, have only the "Header/Footer" tab available and the other 3 tabs not there at all. How do I do this?
As you can see in the attachment: worksheet: calculations. I make conditional sums in this sheet. After completing the 1st possibility of 1st condition with all possible 2nd and 3th conditions, I now need to make the same conditional sums for the second possibility of the 1st condition. So basically, I can copy past the formulas only "TV" does now need to become "MB" thats all that needs to change in the following 170 formulas. Is there a way to automate this proces, so that I do not need to do this manualy one at a time?
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.
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.
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:
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.
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:
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)
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".
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.
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.
I am using the formula below to count the unique items in column M. Two questions, how can I use the whole range M:M, but then also ignore the header because that would return 3. I tried repacing M2:M6 with M:M but I get #NUM!. I'm using 2003 but when I take this back to work I will be on 2007. If using the whole range M:M is not possible then I could just extend out to M2:M7000 which should cover the range. PAS Sheet
LM1Count of PASPAS22FD093 FD094 FD645 FD646 FD64 Spreadsheet FormulasCellFormulaL2=SUM(IF(FREQUENCY(MATCH(M2:M6,M2:M6,0),MATCH(M2:M6,M2:M6,0))>0,1))
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
how to make a frequency table and a bar chart for 6 different branches of industries. These categories have numbers (1 for branche A and 2 for Brance B and so on) I tried Tools > Data analysis > Histogram yet. But then the categories are displayed as numerators. I just want to show how many companies there are in Branche A, Branche B, etc. I tried to change the categories into text, but it wont make a difference. I will include the file.
I used Match array to count the frequency of occurences (ie. string begins ASC) with but to no avail. Match or Frequency function how to do this? =MATCH(IF(LEFT(A1:A9,3)="ASC",LEFT(A1:A9,3)),A1:A9,0)
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.
I have four columns in my worksheet. In column C, I need to find the no. of times word "Alarm" is occuring. Further, with each "Alarm" entry in col C, there is a alarm type given in column D. I need to find the no. of alarms for each type and then display a bar chart for the alarm type vs. frequency of its occurence.
I have a spreadsheet that contains the number of faults in 12 hours. What I would like it to know the frequency of fault i.e 204 faults means a fault every 00:02:03 Is there a formula I can use.
I have the desire to create a spreadsheet that will, in the end, allow me to see the frequency of certain songs I've seen by a certain band (the same band). trying to figure out the best approach in creating such a spread sheet.
What I want to do is provide the date of a concert, and all of the songs played at that specific concert. I have that info. There are 78 concerts that I need to input. However, it seems redundant for me to list, for example, "Song A" if it was played on "date X", and then list "song A" again if was played on "date Y". This is where I'm not sure what makes the most sense.
Would it be better to use the A-Z axis and provide the 78 dates of concerts, and use the numbered axis to list all of the songs that were seen/heard. Then I could put some sort of check mark in the cell that corresponds to the song and date?This way seems like more work than is necessary.