Sum Data By Group

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


ADVERTISEMENT

Change Color Of Group Of Cells Based On Data In Another Group Of Cells

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

VBA To Search Group Of Cells And Input Message If Value Is Missing From Group?

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

Pivot Table Group :: Group By Integers And Not By Months, Years Etc?

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

Insert Group Header Based On Consistent Value Within The Group?

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

Excel 2007 :: Import Data From Worksheet Into Another And Group Data Into Sections

Mar 2, 2012

I want to be able to run a macro that will export some of the data from a worksheet called Generated Report into another worksheet called Matrix. The data will be taken Generated REport and grouped into sections of the worksheet. These sections will be defined by the BRID value.

The Data that i want to export will be from the first 5 columns within the Generated Report(note there are other columns which data is not required from).

The following columns will be exported from Generated Report -

BRID,Requirement, Bug Description, Bug ID and Alt Bug ID.

BRIDRequirement Bug DescriptionBUG ID Alt Bug ID
PQ115 PQ115-Login Bug Description text xihllloloj43712 123
PQ116PQ116-Landing Bug Description text ghghghgoot 43713 126

For Matrix

The data will be imported into Matrix worksheet into the following columns as part of the row headings

- Requirement, Description, Bug ID and VF Bug ID.There will also be other columns (outlined below) which i will use to manually enter data

The data will be grouped and imported into the relevant section by its BRID eg PQ115, PQ116 etc.

I want each section (marked by BRID number)to be separated by row headings.

These row headings are to be generated after populating all data within each BRID number.

When the data has been populated in each row there is a column called 'Status' which contains drop down list boxes which can be assigned.

The default status will be set to 'To Do'. The complete row headings are displayed with Output from Generated Report underneath

BRID Priority Requirment Description BugID Alt Bug ID PC UpdateNotes Actual Result Type of DEfect Test Status Tested by
PQ115 PQ115-Login Bug Description text xihllloloj43712 123 To Do

BRID Priority Requirment Description BugID Alt Bug ID QC UpdateNotes Actual Result Type of DEfect Test Status Tested by
PQ116 PQ116-Landing Bug Description text ghghghgoot43713 126 To Do

So far the macro that i have been using allows me to locate the data for each specific BRID in Generated Report and copy into the corresponding BRID section within the Matrix. I have to repeat this step for each new BRID and i want to be able to whole automate this process.

View 5 Replies View Related

Use The Group Box To Group A Number Of Option Buttons Together?

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

Convert A Group Of Numbers To A Group Of Letters

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

Formula To Group And Sum Up Data?

Jul 26, 2014

I've got a table containing different codes and their values:

AAA 1
AAA 1
AAA 5
XCC 2
XCC 1
WTY 7
WTY 2
...

I'd like to group them so the code shows up just once whith its' value summed up:

AAA 7
XCC 3
WTY 9
...

See the file attached.

View 3 Replies View Related

How Can I Group Data And Count

Jan 23, 2009

I'm working with a large database with hundreds of values that I need to have a table that looks like this:

A B C D E No class code Total 1.89 1.9-4.99 5 5.01-10 10.01-20 20.01-30 30.01-45 45.01-60 60.01-80 80.01-100 100.01-130 130.01-150 150+

I need each category to read another workbook page and count anything in x-price category with y value (being the A,b,c,d,e, or null)

View 9 Replies View Related

How To Group Data Using Colour

Mar 25, 2009

I have a spreadseet where I am pasting data which all the time change.

I would like to know if there is a way to highlight cells with same value with one colour, other same cells with second colour,3rd....10 colours would be enough i think....

Formula should work for at least 200 rows.
i.e. I have in column D Dates in 20 rows.
1-10 row are same (blue highlighted cells)
11-12 and 15 are same (yellow highlighted cells)
13-14 row are same (red highlighted cells)
16-20 row are same (red highlighted cells)

View 9 Replies View Related

Total & Group Data

Oct 27, 2006

How can I add up the above and give me a total of their classes when the classes and percentage will change all the time

View 6 Replies View Related

Group Filtered Data ..

Dec 15, 2006

I created a complex spreadsheet with AutoFilter. For each transaction recorded, the info consist of 4 rows per transaction. When I click the the filtering drop down, the result return with the single line. Is there a way that I can have the results return in group 4 rows? I merge the 4 cells in the first column but it doesn't work the way I want it to.

View 4 Replies View Related

Apply Row Count Of Sub Group In Each Row Of Sub Group

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

Formula To Identify Group For The Data?

Feb 12, 2014

create a formula for my data. I want to pun binning as per criteria given.

Bin 1: IR < 150 & VR >62
Bin 2: 150<IR<300 & VR >62
Bin 3: IR >300 & 62< VR <30
Bin 4: IR >300 & VR <30

Example data

Data 1 : IR = 80 & VR =68 --> Bin 1
Data 2 : IR = 200 & VR =68 --> Bin 2
Data 3 : IR = 300 & VR =25 --> Bin 4
Data 4 : IR = 350 & VR =45 --> Bin 3

View 10 Replies View Related

Find Minimum Value From A Data Group

May 27, 2009

I have been trying to solve this problem for the past couple of weeks and I have not been able to do so. I have come to do the operation manually, and it really takes a lot of my time, so if you guys could help me, I would really appreciate it.

Basically the problem is this:

In column "A" I have what I call point numbers for all the data entries.

In column "B" I have the station (or location) at which I vary slightly a parameter (represented by column "E") to give me a value shown in column "D" (the "Z" value, as shown in the sheet).

So basically you can see that my station 0 has 11 different "E" parameters (0, -1, -2.62, -5, etc) and each of them has a "Z" parameter (390.76, 390.775, etc).

What I am trying to do is to come up with a table that shows a summary of the following:

A column with each of the stations (0, 20, 40, etc -- notice that I have some weird numbered stations like 411.89).

Another column with the "E" parameter corresponding to the lowest (or minimum) "Z" parameter within the station range.

And a final column with the minimum "Z" parameter corresponding to its "E" parameter, which is included in the station range

You can see in yellow the way I have been doing this and you can see that it would take me so much time to accomplish the task.

View 7 Replies View Related

Count Data Based On Group

Nov 17, 2009

I have excel file in the below format.

Sheet1  ABC1NamegroupGroup22A A13AA 4A B25BB 6CC2 7AC4 8D  9E D1 Excel tables to the web >> Excel Jeanie HTML 4


I want count data Based on Group.

The answer is below.

Sheet1  ABCDEF11NameaBCDBlanks12A211  13B 1   14C  1  15D    116E   1  Excel tables to the web >> Excel Jeanie HTML 4

View 9 Replies View Related

Group Data With Changing Criteria

Jan 5, 2009

I have created a worksheet with criteria for grouping the students. If the teacher selects 1 high, 1 med, 1 low in each group based on the conflict lesson plan (or test #2 or whatever assessment the teacher chooses), then I want the spreadsheet to create groups with the students names using the table corresponding with the assessment they choose. (I.e. the conflict table or the test #2 table)

So group one will list one high student, 1 med, 1 low etc....

Initially I was going to use lookup_occurrence to do this; however, I ran into a problem.

When a teacher selects 1 high, 1 med, 1 low, then cell B8 says high, cell B9 says med, cell B10 says low. And then I was going to put a lookup_occurrence in the corresponding c columns to find the first occurrence of those values for group one.

However the problem is this if a teacher selects all high, all med, all low in a group then cell B8 will say high still, but cell B9 will say HIGH not med now, which it does, but then the corresponding lookup formula will need to be the SECOND occurrence of the value in B9 instead of the first as before.

So you see this is a problem. I now have NO IDEA how to generate these groups since the lookup_occurrence formula idea will not work.

I also have a problem separating the periods. If the teacher chooses to group the students based on the first lesson plan, I have told it to look up the table 'E_term 1'!Card1. Problem is Card1 is a table with ALL 8 periods with a few lines separating each period. If I go in and rename each card by period as well, it is going to be a nightmare.

Attached is a sample of TWO pages from my workbook: the groupings page, and the e_term 1 page.

How do I create groups based on changing group types, periods, and assessments?

View 9 Replies View Related

Group Data For Ranking & Sorting

Mar 19, 2009

I have a spreadsheet with a list of ID's in column A. In Column B I have a list of ratings. Each ID has more than one rating. For example there may be 8 rows with ID 1, 12 rows with ID 2, 6 rows with ID 3 etc......

I want to rank the ratings in Column B with highest being 1 but only when the ID's are the same. For example there would be 8 ratings ranked for ID 1, 12 for ID 2 etc.....

The problem is I am running a monte carlo simulation on the rating of around 10,000 simulations. Every simulation the rank for each row will of course change because the rating has changed. The spreadsheet has around 70,000 rows and over 3000 ID's.

How can I do this without either the computer becoming a crawl or freezing up and it not taking 30 minutes for each step of the simulation?

View 8 Replies View Related

Formula To Group Series Of Data

Feb 21, 2007

adapting a formula which I was provided on the forum earlier in the week (I have attached a worksheet as an example). The formula is in column A in the following format ‘=IF(B4=B3,A3,IF(OR(AND(B3<=B2,B3<=B4),AND(B3>=B2,B3>=B4)),A3+1,A3))’.

It is used to number groups of data and it should increase by an increment of 1 for each group. The groups are defined by a changing angle (column B) which runs from high to low (group 1) then low to high (group 2) etc.

The formula in column A works fine until the angle column does not change for 1 or more data points (which sometimes occurs on the change over between groups). See row 430 and 331, the group 6 needs to either be included in group 5 or 7 and then the current group 7 needs to become group 6 and carry on as normal. Is there any way of adapting this formula or changing it to account for this problem?

I have a lot of data series like these and the repeated angles could occur between any groups not just at group 6 as it has done in this example.

View 9 Replies View Related

Copy Each Data Group To New Worksheet

Nov 25, 2007

I need to Copy data present in one sheet to Multiple sheets
(At Places where empty rows occur).

I am attaching a sample file.

View 9 Replies View Related

Minimum Time For Each Data Group

Feb 13, 2008

I'm having an issue right now with an employee list that I am working on. What I am trying to do is determine the earliest time that an employee signed in, but the list that I can export may have the same employee on it multiple times in a day.

Here is a sample of the data that I'm using:

Emp No. Time In
9900872 9:00am
9900874 9:03am
9900874 11:00am
9900874 11:45am
9900875 10:15am
9900875 11:45am

What I want to get is the minimums only, so that the list would show:

Emp No. Time In
9900872 9:00am
9900874 9:03am
9900875 10:15am

I know how I could do this in VBA, however I have everything else working without using VBA, so if possible I would like to leave it that way. Also, I do not know if it would matter to the solution, but the employee numbers are always sorted numerically, although their clock in times are not.

View 7 Replies View Related

Duplicate Headings Down Each Data Group

Mar 26, 2008

I am trying to copy/paste header data into corresponding rows. A1 and A2 have the header information and need to be placed in the corresponding rows under columns A and B. I have been doing this manually and it is very time consuming since there are roughly 2000 rows. I believe a macro can accomplish this task but unsure how to create it. I was also unable to find any similar threads. I have attached a sample workbook. The original tab has the imported information and the Finished tab has what I would like the data to look like.

View 3 Replies View Related

Group Data For Counting/Summing

Apr 26, 2008

I have a set of data that I would like to break into groups, but I do not know what the groups are. I would like Excel to help me find the groups.

More specifically, my tax data consists of the following columns (I'm simplifying): parcel number, dollar value, tax amount, days late paid.

123435, $12000, $100, 20
234234, $23000, $230, 05
etc.

Of course my Excel "results" would omit the parcel numbers, but it would propose groups (and how many parcels in each group) such as: ...

View 6 Replies View Related

Looking Up If A Particular Data Input Belongs To A Named Group?

Apr 23, 2009

Basically, what I'd like to do is use a function that looks up whether a specific cell value belongs to a certain group, and then return true if it does and false if it doesn't so I can use it in an IF function.

So let's say i've got a group of fruits seperated by color. If someone selects a banana, i'd like for the function to look up if the banana belongs to the group "Yellow", which has already been defined, and then return true. I'm sure this is easy, but I can't figure it out.

View 2 Replies View Related

Group Data Based On Format Style

May 6, 2014

I have a spreadsheet with a content in cells. Some of the cells are indented left and some aren't. I would like a macro that groups all of the cells that are indented left above the cells that are not indented.

I've attached a spreadsheet : Book1.xlsx‎

View 1 Replies View Related

Sorting Data In Multiple Tabs By Group

Dec 31, 2012

I have imported data into excel arranged as per the following and there are separate tabs per year. I a trying to summarize and phase the balances per client..i.e 07,08,09,10,11,12.

Therefore if client x balance in 2007 = 10, 2008=11, 2009=10, 2010=2, 2011=3 and 2012 = 5 and so on...then total the balance owed as of now and also phase it as illustrated below. I've tried vlook up's?

Client
Code
01Jan07-
31Jan07
01Feb07-
28Feb07

[Code] .....

View 1 Replies View Related

Pivot Table - Group Data By Month

May 21, 2014

I have a range of data over approx 300 rows. The first column contains dates.

I have created a pivot table and want to group the data by month. I have right clicked the table, grouped by months and selected the whole year as the date range.

For some strange reason the pivot table starts at 1/1/14 but ends at 21/2/14? It will not show the whole year.

View 1 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

Recognising If Data Is A Member Of An Array/group

Apr 13, 2007

how I can have excel determine what array or predetermined group a piece of data belongs to as it loops through it.

For example...

Say I import the A column via .csv file, I want to then run a macro that recognises the data and then catergorise it... the desired outcome would be the red text in the C column.

I want to be able to added the variable members to each group as such, I'm presuming this is best by a declaration.

View 4 Replies View Related







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