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.
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?
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.
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.
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?
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.
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?
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.
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".
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.
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.
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!
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
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
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.....
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.
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.
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.
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.
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) ...
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.
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....
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".
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.
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
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.