Need To Sort Grouped Data

Nov 29, 2012

I'm working on a spreadsheet to track student test scores over the course of the school year. Each score set is grouped by student, but we need to be able to realphabetize when new students are added. is there some way to accomplish this?

View 3 Replies


ADVERTISEMENT

Sort Data In Grouped Rows

May 22, 2013

I have a workbook (Sort Test.xlsx) where multiple rows belong to the same "group". Is there a way to sort by a value (e.g. name of the test, date of the test, etc.) while maintaining the formatting and keeping the "groups" together? There are 3 sheets in the work book. The first shows the sheet as is, the other two are examples of how I would like to be able to sort the data.

View 2 Replies View Related

Orgnise Grouped Data Via Number Sort

Feb 4, 2010

i have is Column A with groups of companys, each company takes up 3 rows, the second rows last 4 numbers are what i want the sort the groups on. as you can see there is no order to them at the moment.

so in theory if theres a company with the area code of 1000 their 3 rows would go to the top and company with aera code 1001 after that and so on.

View 3 Replies View Related

Data Manipulation & Grouped By The Name Field

Aug 4, 2009

Example:............

Where all question 1 fields are put into a row, 2 in another row, etc (this may be more than 2 sets of questions), grouped by the name field. I have had a look at Pivot tables but they dont seem to do what Im after.

View 3 Replies View Related

Get Grouped Data Corresponding Last Transaction Date

Apr 26, 2008

I am trying to automatically show the date of the last transaction per part number. I have attached an example. The formula should also consider the data in WH, BRN, and TRNTYP columns

View 4 Replies View Related

Indirectly Show Or Hide Grouped Data Rows

Dec 2, 2013

I have a spread sheet in which some rows are grouped.

So I can see the + (or -) buttons on the side, and the 1 and 2 buttons on the top, to hide or show the separate grouped rows.

Now, depending on the value of a certain cell, I either want to show or hide the grouped rows.

So actually I want to control the +/- and 1/2 buttons indirectly.

Is this possible? Or should I do this by hiding rows instead of grouping them?

View 2 Replies View Related

VBA Code To Sort Data - Run-time Error When No Data To Sort

Mar 4, 2010

I havet he following code which sorts data. If there is no data to sort I keep on getting a run time error. Could I add something to my code to prevent the run-time error, as sometime there won't be any data to sort. The code runs when I switch to the worksheet in question.

Sub SortMeetings()
Dim iCTR As Integer
Dim yCTR As Integer
Dim zCTR As Integer

zCTR = 11
For iCTR = 12 To 23
For yCTR = 1 To 10
If Len(Range("D" & iCTR).Offset(0, yCTR)) 0 Then
Range("AA" & zCTR).Value = Format(Range("D" & iCTR).Offset(0, yCTR), "HH:MM") & " " & Range("D" & iCTR).Value
zCTR = zCTR + 1
End If
Next yCTR
Next iCTR
Range("AA11:AA" & zCTR).Select
Selection.Sort Key1:=Range("AA11"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End Sub

View 9 Replies View Related

Use Of Grouped Cells

Aug 31, 2007

I have aprox 700 groups of cells "I selected a set of cells and named them". these groups cover 3500 rows. There sizes very in the number of rows per group but, all have the same number of columns.

What I'm tring to do is create a summary sheet. I want to copy all groups that have meet a single criteria to another sheet. The criteria will always be in the same column. The criteria is part of a function and will change each time I import new data into my excel sheet. Am I even close by trying to group them like this?

View 12 Replies View Related

Can Multiple Tabs Be Grouped Together?

Nov 29, 2009

I have an Excel file with 70+ tabs and was wondering if there was some way to group them together, short of just making separate worksheets.

View 6 Replies View Related

Printing Grouped Rows

Aug 11, 2013

I have a few pages of information and have grouped rows collapsed to show only the summary information. When I try to print only visible summary rows, whether I use print, print selection, copy and paste to another sheet or copy and "paste special" values to another sheet, all the hidden/grouped rows print or the summary rows print separately on different pages. Is it possible to print only the summary rows.

View 3 Replies View Related

Closing All Grouped Months?

Jan 23, 2014

I have a spreadsheet with one column for each day. I've grouped the days into months and now I would like to minimize (minimize each month) Is it possible to close all, without having to select each group?

View 1 Replies View Related

Check If Columns Are Grouped (VBA)

Dec 5, 2008

How can I check (using VBA) if 2 columns (F and G) are already grouped.

View 7 Replies View Related

Read Grouped Textbox Value

Jan 16, 2008

I have a bunch (between 5-10) textboxes grouped together into one object.

When I click one of them, I want its value to be written to a cell on the active worksheet. In other words, simply would like to read the value of one of the textboxes in the group. This sounds trivial, but at this point, I haven't been able to find the correct syntax to access this property. It seems that the fact that they are grouped hides access to their text? I am using Excel 2003.

I have managed to code a workaround, but its performance is atrocious (involves shaperanges, ungrouping, etc..)

View 9 Replies View Related

Calculate Sum Of Grouped Columns

Feb 8, 2008

I have a spreadsheet where columns belonging to the same topic are grouped together. For every group I want to calculate the sum of numbers in a row. How can I get all the columns belonging to a group?

View 8 Replies View Related

Pivot Chart Grouped At Two Levels

Aug 21, 2012

I have daily data that has columns for day, day of week, week end, month, year. I am trying to create a pivot chart that displays the data as a line chart day by day and as a secondary axis column chart by week.

View 1 Replies View Related

Charting Hidden / Grouped Columns?

Mar 18, 2014

I have several years worth of monthly data that I would like to keep hidden so it is printer friendly but I also want to have a chart of all that data... Is this possible? Only idea I have is to basically recreate the data sheet but I don't really like that solution since it adds steps to the process and increases the file size...

View 2 Replies View Related

Formula Drag Over Grouped Rows

Dec 16, 2013

I have sheets with over 40000 rows. I grouped them in 60 and I need the average for every group on the 61st (which is blank). For example, when collapsed I have visible the following blank cells:

A61
A122
A183
A244
and so on.

What I want is to enter a formula in A61 for the average of A1:A60 then drag down and have the correct values in all the rest (average of A62:A121 in A122, etc.).

View 4 Replies View Related

Bargraph With Grouped And Stacked Bars?

Jan 27, 2010

This is the data:

jan09 feb09 mar09 .....
Division 1
Division 2
Division 3
Division 4
Division 5

jan08 feb08 mar08 .....
Division 1
Division 2
Division 3
Division 4
Division 5


The graph would be a bar graph with 2 bars next to each other per month. each bar would be stacked by division. The goal is to compare for example sales in 08 with sales in 09 showing 2 bars next to each other split by division.

View 2 Replies View Related

Sorting Grouped Dates In Slicer?

Jun 12, 2014

In my pivot table I have "Due Date" with is a column label.

I grouped the dates into weeks by using the "days" grouping and using 7 days.

I created a slicer to allow the user to select with week they want, but the slicer is sorted as though it's a text field and not a date field.

Example:

6/1/2015 - 6/7/2015
6/13/2016 - 6/19/2016
6/15/2015 - 6/21/2015
6/16/2014 - 6/22/2014

I want the slicer to sort by actual date.

View 1 Replies View Related

Grouped Labels On Chart X-axis

Feb 20, 2008

I want to create grouped labels on a chart x-axis of the type created automatically when creating a pivot chart. For example: I have projects, samples and sample yields. There are multiple samples in a project so I have a sheet that looks something like this below:-

Project,Sample,Yield
2006ANG01,CTY001,1%
2006ANG01,CTY002,1.5%
2006ANG01,CTY003,1.2%
2007ANG03,CTY456,2%
2007ANG03,CTY457,1.9%

I would like to create a chart that has Project and Sample as the x-axis where the samples are all grouped into their project. Pivot charts do this nicely, but how to do it without a pivot chart? As you will see from the attached file I can get both Project and Sample on the x-axis, but the Projects are overlapping.

View 2 Replies View Related

Grouped Rows Disabled When Protecting Worksheets?

Nov 1, 2013

I have a protected worksheet which enables only certain sections to be edited, data inputs etc. I also have a set of rows grouped which need to be activated depending on data type for particular projects to be captured. Problem is, when the sheet is protected, when users click on the + and - buttons to either ungroup and group the rows depending on type of project, this feature is disabled.

I get a popup alert that tells me "You cannot use this command on a protected worksheet. To use this command you must first unprotect the sheet ....". Problem is I don't want all users to have access as giving them the password defeats my purpose of protecting the sheet.

See the attached file, row 23.

View 9 Replies View Related

VBA Code - Expand / Collapse Grouped Columns

Feb 10, 2014

Currently, Columns EFG are grouped.

I have a userform with checkboxes. With the click of check box, i would like for it to do the following.

If checked, it will expand the group. If unchecked, it needs to stay collapsed.

Here is an example of code i currently have and is not working.

[Code] ......

View 2 Replies View Related

Individually List Grouped Items / Quantities

Jan 15, 2010

I have a list of items and quantities I need of each, such as

cat 3
dog 2
mouse 1
horse 4
snake 2
leopard 4

I'm thinking that it would be a macro that would be way to go for this project.

I want to run a macro that will make the list above the following
cat 1
cat 1
cat 1
dog 1
dog 1
mouse 1
horse 1
horse 1
horse 1
horse 1
snake 1
snake 1
leopard 1
leopard 1
leopard 1
leopard 1

So what happened was that 6 lines of information was transformed into 16 lines of information. My purpose is that I will then will exploring various combination of these items, and thus I think that splitting them up like this will make them more manageable to work with. Since the original list values will change I will not always know how many lines to set aside for the individual breakdown.

View 14 Replies View Related

VBA Count Instances Based On Grouped Rows

Jul 8, 2009

Is it possible to use VBA to calculate the number of numerical occurance within a column of data, and then categorise the results (onto another sheet) based on a grouping variable found in another column of data? I've been trying to create a macro to do such a thing, but I'm not even close ....

View 9 Replies View Related

Formula To Put Name Of Worksheet Into A Cell While Worksheets Are Grouped

Aug 5, 2006

The formula in cell A1 of the attached inserts the worksheet name, but it doesn't work when pasted to a group of worksheets. The formula doesn't change from sheet to sheet, yet the results refer to the workheet name where the "paste" was originally done. Does anyone know of a similar formula that would work right when applied once across a group of worksheets?

View 2 Replies View Related

Grouped Objects Wont Run Assigned Macro

Dec 3, 2006

I created an object using multiple smaller objects (shapes, text etc,) and grouped them to make an icon. I assigned a macro to the finished object. It works fine when the sheet is unprotected. However, when the sheet is protected, the macro will run only when certain parts of the object are clicked. The standard cursor turns into the "hand" when any part of the object is touched regardless of the protection status.

View 8 Replies View Related

Select 1st Empty Cell In Column That Is Grouped

Feb 27, 2008

I am trying to paste data into a sheet immediately following the last weeks data. I went to use an offset function like :

Range("A2").End(xlDown).Select
ActiveCell.Offset(1, 0).Select

However, each weeks data is "Grouped" and therefore the .end(xldown) only takes me to the bottom of the visible rows, and the offset function selects one of the hidden cells.

View 5 Replies View Related

Convert One Column Of Addresses Into Three Columns When Text To Be Grouped Is Not Even

Jan 10, 2014

I have checked to see if this has been answered before and can not find an exact reply. My problem is that I have a combined column of address: Suburb, State, Postcode - which needs to be broken into three which not be done accurately using tet to column or fx - left mid or right. The issue is that the Suburb could be made up of one or two Words with a space between. So I can not separate using text to columns as in some cases the suburbs comprised of two words will put the second word in the "state" column. It can also not be done using Left, Right,Mid, as they number of characters differs in each line. example problem with columns to text.jpg

COMBINED ADDRESS SUBURBSTATE??POSTCODE??POSTCODE??
ALTONA NORTH VIC 3025ALTONANORTHVIC 3025
BONDI NSW 2026 BONDINSW 2026
WOOLLOONGABBA QLD 4102WOOLLOONGABBAQLD4102
TOOWONG QLD 4066 TOOWONGQLD 4066
NOVAR GARDENS SA 5040NOVARGARDENSSA 5040

View 12 Replies View Related

Code To Conditionally Expand Or Collapse Only Certain Grouped Rows

May 13, 2011

I have several groupings of rows in worksheet. I need to have each separate grouping be able to automatically expand or collapse based on a value in each group.

ie-
Grouping Rows 11-15
Grouping Rows 21-25
Grouping Rows 31-36

If cell values in A10, A20, or A30 = 1, then the grouping below it would need to be collapsed, and if not, then expanded.

View 3 Replies View Related

Checkbox Form Control Application Caller When Grouped

Aug 27, 2012

I have coming from the Forms Controls within a Sheet 6 CheckBox.

for the following countries: "Spain", "France", "UK", "Italy", "Germany" and "EUROPE"

when Europe is selected the I select all the Check Boxes at once by Macro, if Europe is selected and I unselect Europe, then I unselect all the countries by Macro.

When Europe is selected and then I press for eg in Spain, the Spain is not selected and then I unselect Europe, by macro.

This works fine, and my macro does the job OK.

Code:

Sub mCountries()
On Error Resume Next: Application.ScreenUpdating = False
Dim wCaller As String: wCaller = Application.Caller
Dim aCheckBoxes(): aCheckBoxes = Array("cBoxSpain", "cBoxFrance", "cBoxItaly", "cBoxGermany", "cBoxUK")
Dim X As Long: X = -4146
Dim Y As Long

[Code]....

But if My 6 CheckBoxes are grouped... the Macro does do the job How can I refer to a shpes withing the Grouped Shape to apply the selection and/or to unselect??

View 4 Replies View Related







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