Grouping Data Into Categories

Jun 9, 2006

I have a given set of data. Each row of data fits into one of 7 different categories. Besides doing a simple filter to be able to pull out a certain "category", how can I do this differently? Is there a code/macro process I need to go through? Basically what I need to do is find a way to group these categories together, so that someone searching for a certain category can easily pull it from the data.

View 8 Replies


ADVERTISEMENT

Divide Data Into Two Categories?

Aug 1, 2014

I have 10 years from 2003 to 2012 and need to divide this into 2 categories pre-cisis and post-crisis. How can I do that?

View 3 Replies View Related

How To Divide Data Into Categories

Aug 1, 2014

I am working on my thesis empirical part now I have 10 years from 2003 to 2012 and need to divide this into 2 categories pre-cisis and post-crisis. How can I do that?

View 10 Replies View Related

Data Formatting (choose The Different Categories)

Nov 6, 2008

1. I would like to be able to play with it by choosing different categories, sub-categories etc (adding different ones etc.). I tried pivot table but to get this data in pivot table format is a very time consuming task to start with.

2. The sample file has only one month. I get this type of data every month. So have to annualize using other months etc. I could get different months in a column also. So for example column d could have Jan, Feb, March etc. for row of data. But that would mean I will have 1922 * 10 = 19220 rows. And when I update this every month row reference from formulae (If I had formulae) will need to be updated.

I have the flexibility of getting this source data rearranged little bit but not too much flexibility there.

View 5 Replies View Related

Automatically Sorting Data According To Defined Categories?

Apr 25, 2014

I have two columns, in column A will have four or five categories repeating randomly, in columns B will have unique names.

What I would like to do is to define categories as a column names in a table and then to automatically fill that table with the data from column B depending on category.

View 2 Replies View Related

Extract Data Into Categories / Columns From ALL Being In One Mixed Column?

Sep 13, 2013

I extracted data from PDF into a spreadsheet, and now I need to put all the data - according to name, email, address etc. into separate columns, so it is usable.

All categories of data are in 1 column at the moment - mixed up.

How can I sort this into columns according to category?

View 7 Replies View Related

Excel 2003 :: Create Pivot Table That Aggregates Equal Data From Separate Categories

May 29, 2012

Is it possible to aggregate data in a pivot table from different categories?

I have excel 2003.

For PURE illustration, I have 6 columns, A-F, respectively:

"TV Show", 4 columns for names of people who watched the show (Persons 1, 2, 3, and/or 4), and finally, the duration / "Time" of the show.

I want to see in a final output:

Anytime a person has watched the show (whether i have penned him in columns 1, 2, 3 or 4), Excel to aggregate the total hours watched by that person.

When i try to do this with my pivot table i run into an error: if Person A watched "TV Show X" in row 1 and his name is in the Person 1 Column, Excel will not aggregate his TV time with "TV Show Y" in Row 2 when his name is in the Person 2 column.

It will sum up the categories separately even if the "Person" inputs in the separate "Person" columns are exact matches.

View 2 Replies View Related

Grouping Some Data In Bar Chart

Jul 29, 2014

I have some cost data for 5 different technologies that I would like to plot in a graph. the technologies belong to 3 unique categories and I want to group them on the chart so that there is no gap between technologies in a same category.

I have a graph where they are grouped by title of the category but how I may remove the gaps between the individual bars in the same category?

View 4 Replies View Related

Data Protection And Grouping?

Feb 12, 2013

grouping the protected/locked data.I am using excel 2010.I have data in sheet and have inserted group. I have protected this sheet and hence not able to use data group in this sheet.Is there a way i can operate data group option even if the sheet is protected.

View 1 Replies View Related

Grouping Data Into Defined Bins Using VBA?

Oct 18, 2012

I've about 30,000 recordes in Column A of numbers between 1 and 100. In Column B I'm looking for a formula to return "Less than 10", "10-20" etc up to "90-100".

I think I need to use excel vba If...Then...Else

View 2 Replies View Related

Grouping Data In A Pivot Table

Oct 31, 2008

from the Forum on building a macro and was kindly told that a Pivot Table would do the job better, which it does. However, my table has a column of several dates, I was wondering the best way to group the dates into months rather than showing the full date, eg, September instead of 16/09/08 or August instead of 01/08/08.

View 4 Replies View Related

Grouping Data In Pivot Table

Mar 28, 2012

I'm looking for a quick way of counting the proportion of records in certain number ranges e.g.

Number of records in range 1 to 50, 51-100, 101-500 etc.

i have a pivot table but I'm just not sure how to create these groupings. Is a pivot the right way to do it - or should I be doing something else with the source data.

View 4 Replies View Related

Data Sort Grouping By First 4 Digits

Jun 1, 2012

I'm trying to sort a selection of data into groups (2 cols, 1st is P-No, 2nd is Qty) based on the first four digits of the P-No and then tally the groups Qty (so I have the total Qty for any given product group) but short of sorting the data by P-No then manually separating it into groups where the first four digits are the same and then applying a SUM calc to the separated groups Qty column I can't think of a function/sum that would speed this process up!

Any way to speed this process up/automate it?

View 7 Replies View Related

Grouping Of Data List Into New Worksheets

Oct 20, 2013

The Data Worksheet in the file attached lists information on various software packages a company sells. Each product has an associated category listed in column B. Write a sub that creates a worksheet for each category represented in the list, with the name of the worksheet being the category, such as Business. For each category worksheet, it should enter the product names and their prices in columns A and B, starting in row 4. Each category worksheet should have an appropriate label, such as “Products in the Business category”, in cell A1; it should have labels “Product” and “Price” in cells A3 and B3; and the column width for its column A should be the same as the column width of Column A in the Data worksheet. ( Note that there are only three categories represented in the current data. However, the program should be written so that it Works for any number of categories – and any number of products- that might be present.)

I have the following code, it works properly when I run it for the first time but fails to re-run for the other coming runs.

This is what the data sheet looks like: [URL] .......

Code:
Sub Business()
Dim Data() As String
Dim blnCheck As Boolean
Dim intProdCnt As Integer
Dim i As Integer
Dim wksC As Excel.Worksheet

[Code] ......

View 5 Replies View Related

Grouping Data From Similar Fields

Jan 4, 2010

I have a set of data that looks like this:

A | B | C | D
---------------
100 | 2 | 0 | 0
100 | 0 | 0 | 7
100 | 6 | 0 | 0
101 | 8 | 0 | 0
101 | 0 | 5 | 0
101 | 0 | 0 | 1

Column A is a 'User Number' and columns B-D contain values.

I was hoping to use this data to create a new range where each 'User Number' only has one row, and the values in the other columns are summed for each user.

This would ideally look like this:

A | B | C | D
---------------
100 | 8 | 0 | 7
101 | 8 | 5 | 1

View 9 Replies View Related

Formula For Grouping Data In Valid Format

May 1, 2014

I have around 30k data. which is in invalid format.

Ex: 12987654321vinay kk 876543219
32567456789 kkccjhg fo 345678921

I want to convert this into correct format as below with start letter from MOD, 987654321,, vinay, kk,87654219
MOD,567456789, , kkccjhg, fo,345678921

I want to know which are formulas I have to use to get this info in correct format.

View 3 Replies View Related

Macro/vba: Grouping Data From Csv Then Import Into Excel

Aug 6, 2008

I have a data file saved as csv like this:

Risk Postcode,Effective Year Month,Written Premium,Written Units,Earned Premium,Earned Units,Claim Cost,Claim Count,Glass Manufacture Decade,
2600,200507,0,0,5.7354,0.0765,0,0,1920,
2600,200508,0,0,5.7354,0.0765,0,0,1920,
2600,200509,0,0,7.1693,0.09563,0,0,1920,
2700,200510,0,0,5.7354,0.0765,0,0,1920,
2700,200507,0,0,5.7756,0.0885,0,0,1930

what i want to do is to group the record with the same postcode together and just return one record for each postcode in excel.

so the output will have the postcode, the sum of written premium, written units.

I understand i can use Access to do it, but I want just to use excel for this task.

View 9 Replies View Related

Vba Macro Code For Grouping Data Based On 2 Hours Time

Apr 28, 2014

I need a VBA macro code to get the output like in the excel file which I have attached with this thread. Which means, I need to group the data for every two hours. in the output I need all 4 cols namely A, B, C, D along with extra col namely, interval based on which I need these groupings to be done..

The code has to be really flexible so that it works for all dates and times in the files. Because like this I have to do for 2000 files.....

Original link: [URL] .....

plant area.xlsx

View 3 Replies View Related

Grouping Data From Two Tables (different Structure) Based On Common Criteria?

Dec 1, 2013

The attached file shows what I'm trying to do - I'd like to fill in the data in the top left corner table (blue-shaded) with the data combined from the two other tables. Think of the Greek letters as names that are grouped into the groups named {A,B,C,D,E} (the names have no significance, it's just an example).

I was able to do so using an array formula and an extra column (yellow shaded) as you can see in B2 - however, this solution doesn't suite my case because the actual tables will be coming from automated processes and cannot be easily manually altered.

I tried inserting the array formula into the sumproduct formula - see B3 - but for some reason this doesn't behave the same as when the array is outside the formula. I should also mention that I came across a user defined function solution - this too is not so suitable for me right now.

View 9 Replies View Related

Sum Categories At Each Change In Value

Feb 25, 2010

Could somebody please suggest a formula that will sum values at each change in category?

I've played around with a pivot table, but for this it really doesn't fit.

Column A is the category and there are totals in column B for each entry.

The only place I need a formula is at the change in First and Second...so for any second all of the third's plus that second and for the first everything below.

Attached is an example with outcome in column C

xxxx First
xxxx Second
xxxx Third

View 6 Replies View Related

Grouping Dates In Pivot Data By Month As Well As Sorting Dates In Ascending Order

Apr 30, 2013

I have a pivot table and and struggling to group these by month as well as to sort thee in escending order.

Pivot Table  ABC3Row LabelsSum of DebitSum of Credit
413/02/201334367.1822844.19513/03/201326475.492219.66613/08/201230307.613541.2713/09/2012
18898.0318065.4813/10/2012 7210.52913/11/201241969.041767.821013/12/201232844.7724041.26

View 3 Replies View Related

Grouping And Then Summing In Either Msquery Or Back After The Data Has Been Extracted From Msquery

Nov 19, 2009

I need grouping and then summing in either msquery or back in excel after the data has been extracted from msquery.

I have external data that i have interogated in msquery, and I would like to to sum the amount column if possible.
I have two fields, first field = account number
2nd field = amount due

the first field could contain 5 sets of the same account number, but with different amounts in the Amount Due column. I would like to sum the amounts due for each of the account numbers in one column.

If i cannot do this in msquery, how do i then go about doing it back in excel. I know i can use subtotals, but then when the data updates from the external data source.

View 2 Replies View Related

ComboBox With Categories Or Subheadings

Mar 11, 2013

Is it possible to make a ComboBox with categories. I have provided a sketch below of how I want my ComboBox to look like. I don't want the user to be able to click on "Fruits" or "Vegetables", but they should be able to select any of the other options.

ComboBox.png

View 3 Replies View Related

Matching Categories And Summing

Oct 28, 2009

The ones we need to focus on are Columns A,C, H, and AG. Daily this sheet Raw will be filtered and data sent to sheets 100,200,300.

In the Raw sheet we have many rows of data, but when this is transferred to the other sheets we will only see one row of data in each sheet.

1. The Date from Cell(C2) should be copied to Cell A3 or next empty cell on column A on all 3 sheets(100,200,300)

2.In Column A there are 3 accounts 101,201,301
If Column A value = 101 then send the corresponding Column H (P&L) value to Sheet100, If Column A =201 then send to sheet 200, If 301 then to sheet 300

Now thats not quite what I need, the Column H values in some cases have to be added up by category. You can see this on sheets 100 300. Columns B to K on Sheet(100) have the different categories of products. What I want is a code that would go through Column AG in Sheet(Raw) match the category name to the category name in the Range(B2:K2) and copy the P&L figure (Column H value in Raw) there.

e.g. I need all the rows pertaining to account 101 with the same label Interest Rate to have the P&L (Column H) added up. So I would get the value 188760 in Sheet 100 Cell D3. (I just added H2,H3,H12,H13) ...

View 10 Replies View Related

Averaging Different Cells From Specified Categories?

Mar 17, 2014

I want to average cells in different columns which meet a minimum criteria, i.e. > 2.0, from specified categories list in the first column. Example: I want to select a category listed in column A and average the numbers listed in columns C and F for that category which meet a minimum threshold.

View 9 Replies View Related

Summing Dates & Categories

Apr 7, 2009

How do I summarise the attached table. I want to have a drop down menu in the MONTH cell (B13) that summarises the month nominated. Also a drop down menu in CATEGORY that I choose (B14). The value of the category in any particular month is totalled in B15.

I know how to create drop down menus and how to define ranges - just not sure of the formulas to use in order to get the correct answer in cell B15....

View 9 Replies View Related

Pivot Time Series With Two Different Categories

Dec 29, 2013

I have a series of up to 40 or so entries for given dates. These entries are categorised by either "bid" or "offer" and I'm trying to find a way to chart them both using a pivot table. I'm stuck as it seems that a pivot can only count the number of bids and offers on any given day, but it cannot differentiate between them.

Note: that the original list the pivot depends on will constantly be updated so I can't just develop a custom chart.

I've attached a spreadsheet with an example of what I'm playing with. Pivot graph is in "PIVOT" worksheet, data is in "DATA".

pivotland.xlsx

View 6 Replies View Related

Dropdown List From Table Categories?

Apr 14, 2014

I have a file and it has a table on it with 2 categories.

what i want to do is select a color in the first drop down list and than in the second only select the items that match the color i have previously selected.

Is there anyway to do this with named ranges because i would like to index everything in a table.

View 3 Replies View Related

Total Categories Of Expenses Spreadsheet

Feb 8, 2014

I have a small online business and am slowly learning Excel to keep my records. I looked at Quickbooks and I think that it just a little too complicated for my needs, besides I like excel better.

The spreadsheet I want to make is how can I summarize the different categories, shipping, travel, EVSE, Wire, or whatever I come up with in the future from a daily expense spreadsheet. I guess the summary should be on another page.

I also guess I can make up a total also of the companies I buy from...

I've attached a beginning daily expense spreadsheet with some entries.2014 costs.xlsx

View 3 Replies View Related

How To Insert Space In Different Categories Of Numbers

Jun 22, 2013

I have a column of numbers that look like this: 111222111222111 and I need them to look like this: 111 222 111 222 111. The numbers are all random and not 111222.

Then I have a second column with numbers like this: 11112222111122221111 but they need to be like this: 1111 2222 1111 2222 1111.

View 5 Replies View Related







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