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


ADVERTISEMENT

Excel 2010 :: Column Chart Group By Series?

Jan 19, 2013

Using Excel 2010. I have a Column Chart that shows 3 data series by month for one year

How can I customize the chart to group the data series on the X-Axis and repeat the 12 month series 3 times on one chart with one X-Axis to show each data series as a group?

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

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

Summing Results Of Formula On Series Of Data

Oct 24, 2011

Is there a way to SUM the result of the followig for B4:J4 and B16:J16, the other cell references remain static:

=(B28*(P28^2-IF(ISNUMBER(B16),ABS(B4-B16)^2,B31)))

I a currently using the following which is rather lengthy and not efficient to maintain/edit:

=(B28*(P28^2-ABS(B4-B16)^2))+(B28*(P28^2-ABS(C4-C16)^2))+
(B28*(P28^2-ABS(D4-D16)^2))+(B28*(P28^2-ABS(E4-E16)^2))+
(B28*(P28^2-ABS(F4-F16)^2))+(B28*(P28^2-ABS(G4-G16)^2))+
(B28*(P28^2-ABS(H4-H16)^2))+(B28*(P28^2-ABS(I4-I16)^2))+
(B28*(P28^2-ABS(J4-J16)^2))

View 2 Replies View Related

Show Chart Data Series Labels On All Series. 2007

May 31, 2008

I just recently installed Excel 2007 and I would like to know if it's possible to change all data points of a chart at the same time. In Excel 2003, I would normally hold down shift while clicking on each of the data points to make a global change. However, it appears I cannot do that in 2007.

I would like to display each data point's series name. When I go to Layout on the Excel Ribbon, and click on "Data Labels", and click on "More Data Label Options", the actual Y-axis values are shown for each data point. However, I do not want this - I actually only want the Series Name, but when I uncheck "Value" and check "Series Name" instead (under "Label Contains"), it only changes it for one of the series. Is there a better way, instead of going through each and every single series to make this change?

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

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

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

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

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 Returning Sum Of A Series

Nov 26, 2007

1) Not using a macro and combining relevant w/s functions, is there an intelligent way to return the value of:
SUM(n=n1 to n=n2) of (-1)^(n-1)*(n)^(n-2)/(n-1)!*X^n
to a cell containing the formula ??

2)Example:
n1 in cell A5:: 1 (integer variable)
n2 in cell A6:: 32 (integer variable)
X value in cell A7::1.00
Returned sum in cell A8:: 0.567143 ...

View 9 Replies View Related

Modify Series Formula

Jan 2, 2009

I'm constructing a dynamic chart and I'm having difficulty naming the series formula.

I wish the Y values to pick up values in a different sheet and have entered the following formula :
=Rnd4Projects.xls!,Timeline!ChtYLeics

Workbook is called Rnd4Projects and the data is contained in a different sheet, called Timeline.

However, I keep getting an error message to say there is a problem with the formula. how this formula needs to be entered in Series Values box?

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

200 Series But Get (The Maximum Number Of Series Per Chart Is 255) Error Message

Aug 4, 2014

I run a large simulation experiment. I have a loop plotting data in excel of a user defined area. Because of the limit of 255 series I have allowed a maximum of 250 simulations (they all need to be plotted). But the length of each simulation is free. I know there is a limit of 32.000 data points in a graph and I have this as a condition too.

If I set the data range to 100 columns and 3000 rows the graph is produced when I plot by columns. (code below)

But if I set the data range to 250 columns and 1000 rows I get the above mentioned error message. Even though I only have 250 series.

After the data is plotted it is the code below that gets the error:

[Code] .....

View 1 Replies View Related

Line Chart - Remove Series Code But What If No Series Exists?

Dec 22, 2011

I have the following code:

Sub Macro5()
ActiveSheet.ChartObjects("Chart 243").Activate
ActiveSheet.ChartObjects("Chart 243").Activate
ActiveChart.SeriesCollection(1).Delete
ActiveChart.SeriesCollection(2).Delete
End Sub

However, if there is no SereisCollection(1) actually present in the chart I get an error. How can I work around this? I will need an IF statement I assume, just not sure what it will look like.

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

Formula Fill Series On Right Column

Jan 6, 2014

I am working on a spreadsheet and I need values from Sheet1!a2, a7, a12, a17 etc...

I want to fill in the formula ='Sheet1'!a2 etc, to fill column A in sheet2!

When I highlight and drop down to fill excel fills the column in increments of five like i need but doesn't start on the right one. Instead it fills the formula as ='Sheet1'!a6, (For cel A1) and ='Sheet1'!a11, (for cell A2) and so on.

View 14 Replies View Related

Formula That Will Automaticaly Extend A Series

Feb 23, 2010

I was trying to set yp a formula that will automaticaly extend a series. I mean will add a sequential number to the one above. If I have in cell A1: CD001. I want to place a formula that will show me: CD002 in cell A2. I tried n function but it only converts it to the number and comes uout as 0. I don't know which one to use if there is any. Answer to the first question I will probably be asked: No I cannot drag it down with a mouse as I will place it in the conditional function afterall.

View 5 Replies View Related

Using Array In Chart Series Formula?

Aug 16, 2013

I want to create 3 stacked bars on a chart, where each stacked par points to the same series data. This is for an automated reporting process and I don't want to create a 'staging' table if I don't need to. I have discovered that while the series formula can take an array in curly brackets of actual numeric values, if i fill that array with the same spreadsheet cell reference 3 times it is unable to evaluate it. By way of example:

1. This works
=SERIES(Chart1_Data!$A$7,Chart1_Data!$B$1:$D$1,Chart1_Data!$B$7:$D$7,6)

2. This works
=SERIES(Chart1_Data!$A$7,Chart1_Data!$B$1:$D$1,{592210.02,592210.02,592210.02},6)

3. This works
=SERIES(Chart1_Data!$A$7,Chart1_Data!$B$1,'MI Excel Template v.1.xlsx'!testrange,6)

4. This doesn't
=SERIES(Chart1_Data!$A$7,Chart1_Data!$B$1:$D$1,{Chart1_Data!$B$7,Chart1_Data!$B$7,Chart1_Data!$B$7},6)

Is there a solution to 4?

View 3 Replies View Related

Unable To Set Formula Property Of Series

May 14, 2006

I went through a lot of threads in this forum, although there were a couple relating to the same problem am facing, they didnt solve my error .. so here's my question again ..

When am trying to delink charts , i get an error stating "Unable to set the formula property of series class".

The code is as follows :

Sub DelinkChartData()

Dim iCtr As Integer, iChars As Integer, SH As Shape, iPlotOrder As Integer
Dim nPts As Long, iPts As Long 'Holds the total no of points in the chart
Dim xArray, yArray, sChtName As String, sSrsName As String
Dim xVals, yVals
Dim ChtSeries As Series ' var used to loop thru the series collection
Dim ws As Worksheet
Dim sChartType As String, iCtr1 As Integer

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

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

Spurious XY Scatter Chart Series Adding Series

Aug 21, 2006

The following code is supposed to produce six series on an xlXYScatter chart. It produces seven with the seventh series being a repeat of the sixth but named series 7.

Sub Chart2()

Dim DataRange As Range
Dim CellString As String 'Stores a cell range in the form "AA27:AB39"
Dim CurrentSeries As Integer
Dim SeasonCount As Integer

Worksheets("Hemisphere").ChartObjects(2).Activate

CurrentSeries = 1 ............

View 9 Replies View Related

Color Pivot Chart Series Dependant On Series Name

Jun 24, 2008

I have a list of data on one sheet and a 'reports' page on another sheet. The reports page has several pivot tables and a pivot chart. I want the pivot chart to format the bars on the chart relevant to the series name. The series names are "R" "A" amd "G" for Red Amber and Green respectively, I want the chart to change the colour of the series so that it is the correct colour ie. "R" would be coloured Red, "A" would be Amber and "G" would be green.

Sub PivotLoader()
Dim Red As Integer
Dim Amber As Integer
Dim Green As Integer
Red = Range("H9").Value
Amber = Range("H10").Value
Green = Range("H11").Value
Range("B8").Select
ActiveSheet.PivotTables("PivotTable4").PivotCache.Refresh
Range("D25").Select
ActiveWindow.SmallScroll Down:=18
Range("B49").Select...........................

View 2 Replies View Related

Create Line Graph That Will Incorporate Multiple Columns Of Data In One Series Of Data

Sep 27, 2011

I am trying to create a line graph that will incorporate multiple columns of data in one series of data. The reason I do not place all of the data in one column is because it could exceed the maximum amount of rows allowed in excel. Also I need the data split up for viewing purposes.

I can easily just graph one column but how do I combine all the columns into one line graph with the data being in separate columns. Basically all the columns will be my Y values and X values are just 1:n.

Example Below:

Column AColumn B Column C159261037114812

Now in the example all of the values are x values.

View 2 Replies View Related

Formula To Indicate How Many Days Fall Within Series Of Months

May 23, 2014

I have a sheet that has a start date and an end date for holidays.

The start date for the test holiday is 23/05/14
The end date for the test holiday is 15/7/14

I need a formula that will calculate how many of the holidays (work days only Mon-Fri) fall in each month from May through July.

View 14 Replies View Related







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