Top X From Each Group
Jan 5, 2008
I have multiple names in each of 10 groups. Each name will have a number beside it. I wish to have a separate worksheet that will contain only the name with the highest number beside it, from each group.
View 5 Replies
ADVERTISEMENT
Mar 17, 2014
I am trying to write VBA code that groups cells between blank rows and inserts a message if a string of text (a name) is missing from the entire group. I want the code to search cells in column A and group the cells between blank cells. Use the name I input in an input box as the search criteria and insert a message in the Column C next to the last blank cell in the group and then move on to the next group and highlight the cell in red with bold text. I am including a spreadsheet with an example of what the sheet should look like before and after the code is run.
View 11 Replies
View Related
Nov 12, 2009
I have date fields as column labels in a pivot table. When I try to group them I'm only given the option to group by integers and not by months, years etc.
I've had a look at the format settings of the column and they are formatted as date fields.
View 9 Replies
View Related
Feb 10, 2014
I have several groups of data in the same sheet. Each group has two blank rows above the first row of data. Each group has column "B" in common (e.g., "Phone" in the example attached). I'd like to add a title/label of "Phone" to the first column in the row immediately preceding the first row of data for that group.
View 1 Replies
View Related
Jan 17, 2013
how to use the group box to group a number of option buttons together.
Question is, lets say, i have a total of 4 group box. if i want it to work in such a way where by once 2 option buttons are being selected (1 option selected from each group box), the rest of the option buttons in the 4 group box will be greyed out. is that possible?
View 2 Replies
View Related
Aug 9, 2006
My store uses a retail price "code" wherein a price like 99 in expressed as a
code like "PP"--exchanging the number digits 1-0 as letters.
Is there a function to do this automatically?
View 9 Replies
View Related
May 28, 2014
In Col X of the attachment, I have manually entered the count of the rows within each sub group, as determined by the counter in Col W. How can I do this automatically? I need this because when I filter the spread sheet by Rank, I need to know how many selections, of the filter Rank query, were in a sub group of ? number.
View 2 Replies
View Related
Apr 18, 2014
I have this massive spreadsheet, with the maximum rows excel will fit on one sheet. In the interest of simplicity, this is what the raw data looks like:
Last First Amount
Jones Jim $1000
Jung Joe $700
White Jon $100
Jones Jim $200
Jones Jan $300
Jung Joe $800
White Jon $200
What I want to do is automatically get excel to group all the same names together. Then I want it to sum all the values for each name, then order by largest total value for each person, then order that by name alphabetically. In other words, the above would look like this after the sort:
Last First Amount
Jung Joe $800
Jung Joe $700
Jones Jim $1000
Jones Jim $200
Jones Jan $300
White Jon $200
White Jon $100
Or, if necessary, there could be sum total rows under each name...although I don't have spare rows, so IDK. I could delete some rows if I had to, but would rather not.
View 1 Replies
View Related
Jan 12, 2014
Conditional formatting. I want to change the color of a group of cells based on data in another group of cells. Example:
If cells G8 and G9 (which are merged) are between 80% and 94%, then I9,I10,I11 (which are merged) will turn Yellow. Also, under the same scenario, IF G8 and G9 is greater than 94%, then cells I9, I10, I11 will turn Red.
View 2 Replies
View Related
Mar 11, 2008
I have an Excel sheet with one column (column A) and I have 503 000 data rows. In the first 503 rows I will need to insert the data group1. The next 503 rows, I will need to insert the data group2. The data always increment by 1 every 503 rows.
I could do it manually for few groups, but I need to create 1000 groups (503 000 rows). So you can imagine the load of work if I would do that manually.
Does anyone can explain me how to create a macro or anything that could automate this?
Im using Excel 2007 that support more than 1 million rows vs the old Excel versions which is a max of 64 000 rows
View 7 Replies
View Related
Jan 24, 2007
If you have 5 option boxes in the group at the top of a form and want to make sure the user of the form selects at least one box before continuing on, how do you do that?
View 9 Replies
View Related
Apr 6, 2009
I created a pivot table with daily dates listed from 1/1/2009- 3/31/2009. 3 months worth. I see i can group this data by hours, days, months, quarters and years but what i really need to do is group this by WEEK. Does anyone know a formula I could use to accomplish this?
View 3 Replies
View Related
Jun 10, 2013
How to insert a group between another - see att. picture.
I have tried several solutions but havent yet found the right one.
The rows are not locked.
Picture: Capture.PNG
View 6 Replies
View Related
Jul 10, 2013
How to group different record and name the group. Attached file
View 14 Replies
View Related
Jul 9, 2007
I have a big database that has different name in column A(something like Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8...). What i'm trying to do is to group them! In group A i have Y1,Y7, in group B i have Y2,Y3, in group C i have Y4, Y6 and etc! I think the solution is something like index...but i never worked with that in VBA! So each name of group A should copy on a new sheet, the next rows should come group B and etc! Is there a way to do that in VBA?
View 11 Replies
View Related
Nov 20, 2007
I have uploaded 100,000 of record which is already sorted by group.
Now I have to insert balnk row or line that differentiate data ...
To do it manually is to much time consuming ..so can anybody help how to insert line or blank row between sorted group ..
Example...
111 dsdas
111 gdfg
111 sdfsf
222 sfsdf
222 cvx
222 vcxvx
222 vxcv
Desired result:
111 dsdas
111 gdfg
111 sdfsf
-------------------
222 sfsdf
222 cvx
222 vcxvx
------------------
Looking for quick reply.
222 vxcv
View 9 Replies
View Related
May 28, 2012
I have some VBA code which inserts a new row at the bottom of my data and copies the formulas down from the row above. This all works fine. However I now have the need to insert a new row within the data into the correct group.
So within the data there are 4 product groups (sorted).
So column A looks something like this (but much bigger):
Product1
Product1
Product1
Product2
Product3
Product3
Product4
Product4
Product4
I want the user to be able to select "Product1" from a drop down box (which I've set up). Then click the button called "New_Data"
So "New_Data" runs the code and inserts a new row at the bottom of all the other Product 1's (in this example it would be between row's 3 and 4).
Here is my existing code for just inserting a line at the end:
With Sheets("Sheet1")
.Unprotect
With .Range("A1").End(xlDown)
[Code]....
View 3 Replies
View Related
Apr 13, 2007
I have 2 columns, A and B. The data looks like this:
0040005A2002868000PMTo 164.40
003000005000037000PMTo 104.40
001000002002090000PMTn 188.35
002000002000015000PMTn 104.35
001000002000298000PMTn 92.80
001000004001042000PMTo 78.00
001000004001050000PMTo 78.00
003000001002100000PMTo 97.10
001000004002115000PMTn 92.75
I want to have column J with values from column A grouped by the first 9 digits and column J with the totals for these groups. It would look something like this:
002000002 250
002000004 300
003000027 100
003000050 70
004000002 90
etc
View 9 Replies
View Related
May 22, 2007
I have a pivot table listing stock prices from Jan to today. I would like to group them as networkdays.
I see the option to group as days and then select number of day=5. However when I view the data, the 5 day group does not mirror the calendar.
It is 5 days in a group, but it is not the 5 work days of the calendar. It might be the last 3 days and the next 2 days of the following week. I am trying to get the same week to stick together.
View 9 Replies
View Related
Apr 6, 2008
I need to find the age group from the date of birth using excel. Eg.
if some one born between 1st Sept 1998 and 31st of August 2000, they come under 12.
if some one born between 1st Sept 1996 and 31st of August 1998, they come under 14. and so on.
View 9 Replies
View Related
Apr 12, 2008
im tyring to make excel add one group of cells. but not like 5+5=10 but 5+5=2. confused yet i am. basicly i want it to only count the number of cells with numbers in it. im shipping boxes with differnt amounts in them. but i want to know how many boxs are shipping.
View 13 Replies
View Related
Sep 1, 2008
I have a Group Box (from the Forms Toolbar) with alot of Options Buttons (18) that are assigned macros to navigate around my worksheet.
The Group Box is currently set in Range B2:G7 . What I am trying to do is, if one of my Option Buttons brings me to L23, my Group box will still show in L2:R7. In other words, the Group Box moves Right where ever the active cell is.
I have tried Freezing Panes in numerous position, but that does not give me what I'm after. Tried Format Control, whatever I could think of, etc.
Could be that I am not using the right control to set this up?
View 9 Replies
View Related
Dec 24, 2008
Does anyone out there have a formula for grouping duplicates in COLUMN A than summing the corresponding dollar amounts in column B?
EXAMPLE:
I have (2) columns of data.
Column A = Lists of companies (includes duplicates)
Column B = the corresponding dollar totals
4vacations.com US
Access America
Adconian Media Inc. ....................$1,520.00
Adconian Media Inc......................$10,045.45
Advertising.com -NY- Remnant $3,091.16
Advertising.com -NY- Remnant..........$750
Advertising.com -NY- Remnant ......$2,678.82
Affinia Hotels .............................$5,510.05
Affinia Hotels .............................$3,019.50..........
View 9 Replies
View Related
Feb 10, 2009
i have items listed in groups and need to number them
1111
1111
1111
1222
1222
1222
1222
1444
1444
in the column beside this i need these items to be numbered
1 1111
2 1111
3 1111
1 1222
2 1222
3 1222
4 1222
1 1444
2 1444
View 9 Replies
View Related
May 10, 2005
I have a list of scores for people in one column and their groups listed in another. I want to rank their scores within their groups. how to do this? For example:
Score----Group----Rank by group
345--------A-----------1
367--------B-----------1
234--------A-----------2
123--------B-----------2
232--------A-----------3
View 7 Replies
View Related
Nov 22, 2006
I've attached an example. There are 3 columns - Issue, Action Group and Status. Many Issues belong to the same Action Group and others do not belong to any Action Group. The is also a Status summary section that has the total Issues and Actions associated with each status. For example the Status called Resolved could have 10 issues and 5 Actions (including blanks). The problem is that I can't figure out a way to get the total for the Actions.
View 3 Replies
View Related
May 16, 2007
I have 4sets of 5 numbers. In each set if 3 numbers make 10 or 20 then i'd like to rearrange these to upper row. But results are not like desired.
View 4 Replies
View Related
Dec 3, 2007
I have an excel workbook which contains two sheets. Sheet 1 contains a list of items. I need to search for each of these items in sheet 2 and sum up the 'base price' and enter into column B of sheet 1. So basically
1. I need to pick up the first item in sheet 1.
2. Find the column which contains "Module Name" in sheet 2.
3. Search for the item picked up from sheet 1 in the column which contains "Module Name" in sheet 2.
4. Sum up the "Base Price" for all occurrences and enter this summed value into column B of sheet 1 next to each item.
View 4 Replies
View Related
Jan 8, 2008
how to write a macro that will automatically input a sum formula under a range of numbers in my file. An example is below. Every month I get this report and I then true up the numbers which is why I need the sum formula at the bottom of each category. The problem is every month is not necessarily the same length, but the report is a few thousand lines long, so a macro to do it instead of manually doing
Example:
Revenue
Revenue source 1
Revenue source 2
Total Revenue--------SUM(all revenue cells)
Payroll
Tax
Incentives
Vacation
Etc
Etc
Total Payroll---------SUM(All Payroll cells)
Warehouse
Supplies
Maintenance
Etc
Total Warehous-----Sum(All Warehouse)
View 2 Replies
View Related
Jan 31, 2014
I have a data table in which the values are reported daily. I have created a pivot table using this data and grouped the dates in to week long blocks.
What I require is for the group value to return the highest values found within the 7 day period, this would link with the grand total column.
________A B C D E Total
01/01/14 1 1 1 1 1 5
02/01/14 1 1 1 1 1 5
03/01/14 1 2 2 2 1 8
04/01/14 1 1 1 1 1 5
05/01/14 1 1 1 1 1 5
06/01/14 1 1 1 1 1 5
07/01/14 1 1 1 1 1 5
In this example when grouped by week i would get the result:
__________________ A B C D E Total
01/01/14 - 07/01/14 1 2 2 2 1 8
I have also attached a sample spreadsheet.
View 2 Replies
View Related