Age Group Formula

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


ADVERTISEMENT

Group And Sum Formula

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

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

Use A Formula To Group Same Numbers?

Jan 29, 2014

I'm trying to find a way to sort or use a formula to group same numbers that are positive and negative together for reconciliation purposes. What part of my spreadsheet looks like is this:

TypeAmount
SA-10000
SA-500
DM10000
SA-20000
DM500
DM20000

What I am trying to make it look like is this: (each SA has a corresponding DM entry)

TypeAmount
SA-10000
DM10000
SA-500
DM500
SA-20000
DM20000

I know there is a VBA method but i'm not very familiar with VBA so am trying to find a formula if there is one.

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

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

Formula To Indicate Group Of Cell Criteria Has Been Met?

Mar 25, 2014

I am trying to create a helper column to indicate if a set of criteria has been met.

see attached workbook for details.

View 6 Replies View Related

Formula For Adding Group Of Rows?

May 1, 2012

In columm (A) I have a row for each day of the year, that is, 1/1, 1/2.....12/31 which has a corresponding value in column (B). In column (K) I have a row for each week of the year, that is, 1, 2....52.

In column (L), what formula can I use so that each row will sum the values of a seven day period from column (B)?

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

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

Array Formula (show Just Those Counties In That IPF Group )

Aug 28, 2007

Rows 1 & 2 are on a single sheet - there are 26 counties in all, in alphabetical order and divided into IPF groups (as shown on row 1).

On a second sheet I have a data validation list showing IPF1, IPF2, IPF3... etc.
In the columns beside the validation list I would like to show just those counties in that IPF group (example in rows 4 & 6).

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

Excel 2007 :: Formula For Highlighting Cells Within Sub-Group

Jan 26, 2014

I am using Excel 2007 with a WIN XP OS…. My objective is to color code each cell in Column F within each sub-group based on the following instructions:

1) Column F contains a percentage…. Each sub-group in Column F totals 100%.... Each sub-group is separated as shown on the enclosed sample.
2) Starting with the highest percentage, followed by the next highest, (etc.), I want to sum each subsequent cell until reaching a target threshold (total sum) of 62%.... All cells in this grouping to be highlighted “yellow”.
3) Once the 62% target threshold is reached, the very next highest subsequent cell percentage is highlighted “light olive”…. If there is a tie, the lower number shown in Column E serves as the tie-breaker.
4) All remaining cells within the sub-group are highlighted “light brown” including those denoted by 0%.
5) Finally, if the cell is blank and absent of a % call out, then no highlight is required.

I process a daily spreadsheet having typically in excess of 1000 rows and in turn, I’m looking for a method to automate the color coding….

PGM
HORSE
MLO
PRICE LINE
PL RANK
New PACE

[Code] ........

View 6 Replies View Related

Create Formula To Group Insurances When There Are Multiple Rows Of Data

May 20, 2014

I am trying to develop a formula that will tell me whether an account has both Medicare and Medicaid or Medicaid HMO insurance. An account can have one or more lines, and one or more insurances. I manually completed the sample file in column 'D' (see attached) to come up with the desired output. The criteria is below:

-If the account has Medicare and Medicaid financial class, then it is a '5'.
-If the account has Medicare and Medicaid HMO financial class, then it is a '6'.
-Otherwise, it is a '0'.

View 3 Replies View Related

Formula To Count Unique Values Within A Group For Pivot - Paste Special

Jun 26, 2013

I use the following formula to count unique values within a group for a pivot:

=IF(SUMPRODUCT(($CO$2:$CO55681=CO55681)*($E$2:$E55681=E55681))>1,0,1)

When I paste values over the formula it takes around 1 hours to do the 70k cells which is excessive. I want to know if there is a way to speed it up?

I tried doing an =cell and then paste special that and it works really fast but when I delete the actual formula's again the whole sheet locks up.

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

Sort And Group Names Then Sum Associated Numerical Values For Each Group - Sort Total

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

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

Count Formula (count Everything Excluding 1 In One Row, While Looking At Another Row To Determine The Group)

Mar 26, 2009

I am trying to come up with a formula that will count everything excluding 1 in one row, while looking at another row to determine the group.
The attached example explains things a lot better.

I am going to have 2 formulas. 1 for the "Big" group and one for the "Small" The formula needs to look first at the column that has the group in it. Then it needs to count everything is column A excluding "Snake" And return the value.

View 2 Replies View Related

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

Group Every Nth Row

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

Option Group Box

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

Group By 'week'?

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

How To Insert Group Between Another

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

How To Group Record And Name

Jul 10, 2013

How to group different record and name the group. Attached file

View 14 Replies View Related

Database To Group

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

Sorting Group

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

VBA Inserting New Row In A Group?

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







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