How To Use Median On Groups Of Data

Oct 29, 2007

Attached is a spreadsheet showing various stockcodes in various districts with their prices. My aim is to find the median stock price of each stockcode which might show me the district which has a huge variance in price with the same stock. Average can be used on a subtotal, but median is not there. The spreadsheet is an example and the real list is thousands of rows, so I can't manually go and change the range for each stockcode encountered to find the median for each stockcode.

Any suggestions, I am using excel 2003 and can't download add-ins due to my work's network security, though I could do it at home if someone found a good add-in etc.

View 8 Replies


ADVERTISEMENT

Find Median Of Large Set Of Numbers To Calculate Median Income?

Mar 6, 2014

We are trying to find the median of a large set of numbers to calculate the median income in 2010. For an example we have 8,379k people with $2500 average income, 9,783k with $7500 average income and so on. How can I calculate the median average income of such a large amount of entries?

View 8 Replies View Related

Find The Median For A List Of Numbers Using =median()

Nov 11, 2009

how to find the median for a list of numbers using =median(). But what if I have a list of prices for different types of say cars.

Car Type Price

A $10000
B $15000
A $20000
C $30000

Is there a macro that will return

Car Type Median
A $
B $
C $

View 2 Replies View Related

Find Actual Median Of Data?

Mar 29, 2007

I am working on a spreadsheet for my farm. I have two sets of data I am working with. A very basic example is below:

What I am trying to do is find the actual median stud fee (i.e. if you had another column with $5000 listed 22 times, $6500 listed 34 times, etc. then you could find the median from there).
Seems like an easy thing, but I'm not sure if an array formula is what I need to use or something simpler. I don't have a lot of data right now (only a page) but will have much more soon.

View 9 Replies View Related

Calculate Mode / Median And Average Based On Data In 3 Columns

Aug 1, 2014

It's probably best if you open up the attached example spreadsheet that contains sheets "Before" and "After" otherwise it might be pretty difficult to understand what I'm talking about.

So I have this spreadsheet where I have part numbers in column B, status of the orders in Column I and lead times in Column M. What I want to achieve is to get of Mode (col N), Median (col O) and Average (Col P) values of each part number and each of its status using the lead times in Column M. If possible I would only like this on the top lines of each of these. I have done the formulas manually on sheet After so if you click on the formula you can see the range's it covers.

I did create a concatenation in column K (conc of column B and I) as helper column because in theory this might make things a little bit easier.

Now going into second part. I would also like to do something very similar but only using the part number and status "Finished" and get the values in columns T,U, and V on the top row of each part number. I made some blue boxes and arrows to kind of point out the idea.

The solution can be either formula based or macro, it really doesn't matter, however I will intent to use it within macro either way.

View 2 Replies View Related

Loop Through Rows To Calculate Median For Several Dynamic Ranges With Numerical Data

Jul 6, 2006

loop that can calculate the median of dynamic ranges. I need to run through all columns and for each column find the the ranges (there are more ranges and they are seperated with a blank row) with numerical data and then calculate the median and thereafter continue down to find the next range with numerical data in that row and so on.

View 4 Replies View Related

Filter Data Into Groups That Contain A Common Data Point Using Pivot Tables?

Apr 30, 2013

I want to use a Pivot table to filter data to show just the studies that contain patients from the 'South' area?

As per example below I want to be able to see all the patients in all areas but only for studies that have patients from the south. I put together an array formula that works well for small tables but is too much with one one my sheets that contains 200,000 rows.

Before filtering:

Study ID
Study Short Title
Study Patient ID
Area

1346
LLP
90126
Northwest

[code]....

View 8 Replies View Related

VBA To Get Data Sorted Into Groups

Sep 20, 2013

Explaination of Data:

I have 2 Columns in the "RawData" sheet in the file attached. One says the Campaign No, and the other says the Site Code. One Campaign, will always never have duplicate Site Code.

I want to organize the data in the following fashion (as seen in the "Format" Sheet). I wish to acquire the trends of grouping of Site Codes, meaning which site (by Site code) is sold together, to understand the hottest combinations.

The idea is to see which Site Code sells more with a particular Campaign.

As you can see in the attached file, I'd like to know how many times a particular Sites (by Site Code) was sold with the other. As you can imagine, I have about 300 Campaigns, but have about 1500 different Sites codes to deal with, this activity will save me hours of time.

The sample file is uploaded on Google Docs. [URL] .........

View 1 Replies View Related

Subtotal Groups Of Data

Feb 25, 2007

I have attached sample of a series of massive spreadsheets that I am working on.

Item Numbers in Column A
Flag in Column D
Values in Column P

I want put the total of the values in P for each group of item numbers in column C where the flag is YES.

Unfortuantely I prefer not to use excel's subtotal functionality or array formulaes here because of the logistics of how these are used.

View 9 Replies View Related

Copy Groups Of Data

Apr 22, 2008

I have this an excel file which contains about 500-800 entries. These entries have about seven 0's which denotes where the data starts for a each group. In order to separate the data, I want to copy and paste this data to other workbooks. What would be the best way to select the rows from one 0 to the next?

View 3 Replies View Related

Filter Data By Different Groups Of Values

May 16, 2014

I am trying to improve a spreadsheet that I have to use everyday. I have a list with varying number of entries (different length every day) that has a number of columns including a column that contains machine codes (say 1,2,3,4,5...).

Each machine is programmed by a different person (say Andy,Ben,Craig,etc.).

One programmer can program more than one machine so for instance Andy is interested in programs for machines 1,3,5 and Ben in machines 2 and 4.

Every day we send a list of jobs that require programming which is pre-filtered for each programmer so if I send the list to Andy he only sees rows of data with machine codes 1,3 and 5.

I am trying to make a drop-down where I pick the programmer's name and the list automatically gets filtered for the machines for that specific person (e.g. 1,3,5).

I believe this could be done with advanced filtering but the problem is that the list length changes every day and the data is pasted into the spreadsheet from a different CSV file so I cannot define a set range for advanced filtering because it does not accept blank rows...

I am attaching a screenshot : list.jpg

View 1 Replies View Related

Conditional Formatting Groups Of Data

May 28, 2014

I have a spreadsheet with data in a table with order numbers in column A. Although each order is given a unique number, the data populates with multiple rows, one for each line of the order, all with the same order number depending on how many lines where on the order (which is generated via other software and cannot be altered). Therefore the data, when sorted by order number, appears in groups:

[URL] .....

Is it possible to conditional format each line in groups of the same order number to make it easier to differentiate between each individual order which will still work when the data is sorted or filtered?

View 2 Replies View Related

Take A List Of Data And Then Subtotal The Value By Certain Groups

Dec 4, 2009

I want to take a list of data and then subtotal the value by certain groups eg Toys. I then want to sort those subtotals by value descending. I then want to rank the sub totals

So basically i want to first select the group total and if that subtotal is the highest rank it. Its almost as if I need two subtotals (although Excel only gives me one)

View 4 Replies View Related

Selecting Groups Of Similar Data

Aug 5, 2009

I have ~1,000 rows of data utilizing columns A:C. The data is "grouped" by data that is in column C. Layout is as follows for example

Row01.....Column A......Column B.......Column C
Row02.....some data.....some data.....apples
Row03.....some data.....some data.....apples
Row04.....some data.....some data.....apples
Row05.....some data.....some data.....apples
Row06.....some data.....some data.....oranges
Row07.....some data.....some data.....oranges
Row08.....some data.....some data.....oranges
Row09.....some data.....some data.....oranges
Row10.....some data.....some data.....pears
Row11.....some data.....some data.....pears
Row12.....some data.....some data.....pears

I have been trying to come up with some code that will "select" groups of data and then perform an action on those cells. As an example:

View 5 Replies View Related

Extract Data Groups Into Their Own Workbooks

Feb 21, 2009

I have a worksheet filled with employee data. I.e. EMPLID, COUNTRY, MANAGER_ID, etc. I want to extract these employees into a new workbook (spreadsheet) by the employee's manager. So each workbook would contain every employee row data for only one manager.

View 9 Replies View Related

Copy Data Groups To Own Worksheets

Jan 13, 2008

I'd like to be able to have a macro that will create a pivot table based on a range, open up each of the total rows within the pivot table (which will create a new sheet), name the worksheet the title of the total row corresponding to it then copy each worksheet created by the pivot and paste into another sheet in a required format.

View 5 Replies View Related

Sort Groups Of Data And Maintain Rows?

Jan 3, 2014

I need to sort groups of data by a single cell in the group, compared to other single cells in other groups of data. The groups are always the same number of rows but vary in the number of rows. There is an example file below. The red is the company name and the green is what I need to sort the group by, as compared to the other groups. This example only has a few, the real file has thousands of groups. I want to sort the companies by the totals in green...they are currently in alphabetical order. There must be a way to do this without going the VBA option.

View 4 Replies View Related

Averages Of Different Groups Of Data In A Single Sheet

Jul 15, 2014

I have a fairly large set of data on one sheet containing numbers for 60 different people. The data is set up similarly to the set below:

John Smith 75
John Smith 80
John Smith 62

Jane Doe 49
Jane Doe 89
Jane Doe 66

So on and so forth until the 60th person. My question is: Is there a way to average the numbers for each different person at one time? What about median and mode as well? Do I need to set up a different sheet for that?

View 11 Replies View Related

Separate The Data From A Table Based On Certain Groups

May 12, 2009

I have a worksheet with 10000 records. For example, entire data in ColA-ColZ. In that, ColA-ColF - Personal Information; ColG-J Group1; ColK-N Group2; ColO-R Group3; ColS-U Group4; ColW-Z Group5. I this case, the data to be copied into another sheet as follows:

1) the personal data should be copied repeatedly.
2) Each Group data should be copied next to personal data.
3) The group's name is mentioned at the top of the datasheet.

I have attached a sample workbook for your kind reference.

View 2 Replies View Related

Highlight Duplicates Within Separate Groups Of Data

Oct 2, 2009

I have just looked through most of the postings I could find on the board regarding VBA to identify duplicates. Virtually all of these use the entire column when checking for duplicates.

I am after code which will identify duplicates in column A within a contiguous range of data.
For example there is a heading in column B and below this photo details will be entered and in the next column the photo number is entered.
Finally a number (for sorting) is entered in column A. The photos will be numbered 1 to whatever. So I need code which will highlight duplicates in that contiguous range of data.
Then there is one or two blank rows before another batch of photo details are entered. This means the same sorting numbers are used and are separated by a blank row or rows.

******** ******************** src="http://www.interq.or.jp/sun/puremis/...<CENTER><TABLE cellSpacing=0 cellPadding=0 align=center>Microsoft Excel - DUPLICATES - Many Macros.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA29=ABCD29 PN3215  301SOUTHERN APPROACH9107 313NORTHERN APPROACH9105 322GENERAL UNDERSIDE OF WESTERN STONE ARCH9111 331WESTERN ELEVATION9104 343GENERAL UNDERSIDE9110 35    36 PN7583  371SOUTHERN APPROACH9111 382NORTHERN APPROACH9112 391GENERAL UNDERSIDE9113 Sheet 9 [HtmlMaker 2.41] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

Transpose Groups Of Data Where Each Group Is A Different Size

Jan 13, 2010

way to transpose groups of data where each group is a different size. To clarify, my data looks like this (all one column):

data 1
data 2
data 3

data 4
data 5

data 6

data 7
data 8
data 9
data 10

and I would like to get it to look like
data 1 data 2 data 3
data 4 data 5
data 6
data 7 data 8 data 9 data 10

That is, to transpose each group of rows before a space.

View 9 Replies View Related

Separate Data Groups To Seperate Worksheets

Oct 10, 2007

I have a data sheet of 190,000 lines. It is a telecommunications bill with has approx 15 columns.

I need to separate the spreed sheet into the respective "call types" and put this data onto separate tabs, at the moment I do it all manually with Excel 2007.

Is there a way of automating this separation of data

View 9 Replies View Related

Display Table Data In Related Groups

Mar 12, 2008

I have an excel document that contains two columns and ithe columns there are more than 50000 rows of data. The first column contains numbers and the second column contains text filled from only three values for example work, work 1 and work 2.
I want to see only the three identical same values from column A where the values from column B are diferent.Example of how to look the result criteria:

Column A Column B
123456 work
123456 work 1
123456 work 2

View 5 Replies View Related

Transpose Inconsistent Data Row Groups In Column

Jul 1, 2008

I have a data set in an Excel spreadsheet entered as one column of data. It is names with addresses, phone numbers, job title, etc. I want to select and transpose each person in the list so when I am done the person's name is in column A, Company name in column B and so on. The problem is the information listed is not the same for each person - so there is a different number of rows for each person. The names are in bold text though, so I need to select from one cell with bold text to the row BEFORE the next row with bold text and transpose the data for each selection. I found this forum by finding an old question here that is similar at Copy based on Bold Paste-transpose provided in that post and it produced no result.

View 4 Replies View Related

Sorting Multi-rows & Columns Of Data In Groups

Mar 30, 2007

I realize that the easier resolve to this request is to use Access & we are moving to that application.

I have included a worksheet as an example.

We have a 'work in progress' (WIP) worksheet that contains 12 rows of data per job. Need to know how (or if) you can sort by the "Job #:" value while maintaining the group of information necessary for each individual job.

Not a normal sort because the values aren't entered in typical side-by-side row & column format.

View 10 Replies View Related

Create Worksheets Based On Data Groups In Column

Apr 10, 2008

I have a workbook that lists system analysts and information on the systems they're responsible for. I would like to have an Excel macro that will:

1. Create and name a new worksheet for each UNIQUE value in the 'Name' column (new worksheet for each analyst)
2. Copy their system info to each respective worksheet

I've attached a sample workbook.

View 2 Replies View Related

Create Multiple Graphs/Charts From Data Groups

Jun 26, 2008

I need to make a macro that creates a specified number of graphs depending on the file's number of data sets. I know the number of sets that are in the data, and I know the number of data points that were taken. Here is what I have:

Sub Graphs()
Dim Startpoint As Integer
Dim Endpoint As Integer
Dim count As Integer
Dim xStart As String
Dim xEnd As String
Dim NumberSets As Integer
Dim yStart As String
Dim yEnd As String
Dim DataSet As Integer
Dim Data
Startpoint = 11 'The first set always starts in row 11
Endpoint = Range("L4").Value + 10 'Thefirst set always ends after the value of L4+10
NumberSets = Range("L7").Value 'number of times I need the loop to work
count = 1..........................

View 2 Replies View Related

Calculations On First Lines For Entire Groups Of Data In Single Column?

Feb 25, 2014

I'm looking to do some simple maths with ranges in Excel but I'd like a way to be able to input all these formulas automatically although I am pretty sure a single formula per column could do it all automatically. I've got to put the sums in AD to AF on the first line of each location, but the maths is for the entire location's range.

[URL]

View 3 Replies View Related

Deleting Groups Of Rows When Specific Text Data Is Populating Row?

Feb 14, 2013

I have a complex report with thousands of lines I am trying to clean up. In order to do this, I need VBA that recognizes specific text data starting after row 9. When it sees this, it will need to select and delete the 2 rows above it, the row it is in, and the 6 rows below it. 9 rows in total, some of which are blank. The text will repeat every 47-50 rows, but I cannot say exactly when it will repeat again. When it is repeated, I need the 9 rows deleted. At this time, there is only 1 column in the report because I need to split out the data in the cell into adjoining cells. Since I have not solved that yet, I need to just delete the entire row.

The text is written with spaces between each letter and a double space between words. It reads, "B I L L I N G M A S T E R I N V O I C E S E T U P L I S T I N G"

View 8 Replies View Related

Create A Function That Numbers Rows With Respect To Data Groups In A Column

Dec 1, 2007

I need to create a function that numbers rows with respect to data groups in a column (column labeled "Type" in this example). The result would be that shown in column A in this table.

How do I write the function?
#TypeName Date
1CarsJohn1/12/2008
2CarsJane11/10/2007
3CarsMary11/2/2004
4CarsBob12/7/2003
1TrucksMike12/12/2007
2TrucksSandy1/3/2007
3TrucksDale12/14/2006
4TrucksVince4/8/2005

*

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved