Creating New Rows From A Series

Feb 21, 2008

I have a need to expand data rows such as the following example:

A cell in a column of alphanumeric characters contains for example: 9,2,36J,10-13,42L-42N
In this example I need to replace this row with 10 new rows (deleting the orginal) so they would be expressed like this:
9
2
36J
10
11
12
13
42L
42M
42N

View 9 Replies


ADVERTISEMENT

Creating Series Which Should Be Unique

Sep 24, 2013

I need to create a series which must look like in third column. This can be done using concatenate and & function but what i need that 01 & 02... must get autogenerarted and i have to use only first two column as source.

MON
MON001
MON-01_MON001

MON
MON001
MON-02_MON001

View 9 Replies View Related

Creating A Series From Alphanumeric Data?

Sep 11, 2006

I've tried several things to accomplish this with no luck, but I'm sure it's not too tough to do:

On my worksheet, I am entering columns of cells with alphanumeric data. The data are actually thousands of reference numbers that need to go in chronological order, with only the numerals changing (e.g., ABC0001DEF, ABC0002DEF, ABC0003DEF..., with "ABC" and "DEF" always the same).

I can create a series just fine if I leave off the "DEF" part of the reference numbers (by selecting the first couple cells in the series and using the fill handle), but I can't get the same results with the numerals "nested" within the reference numbers (i.e., ABC####DEF).

It sure would save me a lot of typing to be able to create a series to fill in all my reference numbers!

View 6 Replies View Related

Creating A Series Of Folders Named From A List

Feb 25, 2010

I would like to create a series of folders in explorer using a range of cells A1:A162 for the names of the folders. Wondering if there is a way that I can automate this using VBA versus doing it manually .

View 9 Replies View Related

Add Horizontal Line To Chart Without Creating New Series

Aug 25, 2006

I have a line Chart and want to create a static horizontal/indicator line.

I cannot create a new series to plot this horizontal line as I'm using an external data source (OLAP cube) as source data for the chart.

View 8 Replies View Related

Change A Series Of Rows.

Feb 12, 2009

I want to change the values arranged in the row wise to the format I have attached in the excel sheet. Manually it would be very tiresome.

View 4 Replies View Related

Formatting Series Of Rows According To Column Value

Aug 23, 2007

I have a large datset that looks like this:

++++++++++++++++++++++++++++++++++
+ + A + B + C +
++++++++++++++++++++++++++++++++++
+1+ ID + EventDate + EventType +
+2+ 111 + 1/1/1995 + Visit +
+3+ 111 + 1/30/1995 + Vaccine +
+4+ 111 + 4/22/1998 + Visit +
+5+ 222 + 7/7/2000 + Survey +
+6+ 333 + 8/8/2001 + Labs +
+7+ 333 + 8/22/07 + Pharmacy +
+8+ 333 + 8/22/07 + Visit +

I would like to shade the rows with alternating colors so that all the data pertaining to a given ID can be easily spotted. In the example above, I would need A2:C4 to be shaded one color, A5:C5 another color, and A6:C8 the first color again.

I am using Excel 2007.

View 10 Replies View Related

Using Autofilter To Select A Series Of Rows

Aug 24, 2004

I intend to create reports from a master sheet.

The master sheet contains company information; each row represents a (company)record.

The first column contains the country code where the company resides, e.g. DE.

I dug up this piece of
For i = 12 To 1 Step -1
Set rngAutoFilter = Cells(1, i)
rngAutoFilter.AutoFilter Field:=1, Criteria1:="DE"
Range(rngAutoFilter, rngAutoFilter.End(xlDown)).SpecialCells(xlCellTypeVisible).Copy _
Destination:=Worksheets("Sheet2").Cells(1, i)
rngAutoFilter.AutoFilter
Next i

I found this code to work allright but, it only copies the singel cells containing "DE" and the topfirst row. At least that is what is the visible result.

How do I modify this code to copy EACH complete row containing "DE" in the first column?

View 9 Replies View Related

Inserting Blank Rows Between Different Series Of Data?

Sep 3, 2013

I would like to know how can i insert a blank row in between ACC# when ever a new series of data begins

name Acc # Balance Date
John 2222 200 june 2013
John 2222 344 june 2013
John 2222 700 Sept 2013
Silva 4444 333 June 2013
Silva 4444 333 June 2013
Silva 4444 333 June 2013
Raff 5555 897 June 2015
Raff 5555 897 June 2015
Raff 5555 897 June 2015
Raff 5555 897 June 2015

View 2 Replies View Related

Macro - Fill Series Requires Two Rows Of Data!

Aug 18, 2007

regards the two attached files (both are identical) except '1' has TWO Rows of data above the Macro Button and works correctly whereas '2' has only ONE Row (the desired option but does not work correctly!( Inserts Row in wrong place and incorrectly fill series)).

basically the program inserts a additional row below the last data entered, copies a formula cell from above and finally (the problem area) Series Fills a cell from data above.

View 10 Replies View Related

Transposing Column Series Of Data To 2nd Sheet In Rows

Jun 19, 2008

I have a column with (for example) 5 entries A1, A2, A3, and so on. I would like to pick up this data, tranpose it into a row, put it on the 2nd sheet, but (again for example) be specific about where i want it to go. I may want to have A1 at B2, A2 at E2, A3 at H2, etc

-A B C D E F G H
1x
2y
3z
4
5

becomes

-A B C D E F G H
1
2 -x - - y - - z
3
4
5

View 9 Replies View Related

Chart Wizard Limited To 6 Rows Of Data For Series

Nov 24, 2009

I am trying to create a line graph and I have 17 rows of data for 17 different employees. There are 18 rows when including the header row.

My data is as follows

Column A - Employee Name
Column B - Month 1 data
Column C - Month 2 data
Column D - Month 3 data
Column E - Month 4 data
Column F - Month 5 data

When I highlight the data and go to the chart wizard, I select "Series in Rows".

However, on the series tab it only brings in the data for 6 employees.

Is there a way to automatically bring in all the data without having to do it manually, or is this a limitation of Excel?

View 9 Replies View Related

Macro: Plot Graph/Chart By Series Of Rows

Jun 30, 2008

I've been trying to work out a code for a while now to plot some series in rows on a graph. The wonderful Mr Pope helped me with one before but for series in columns but i just don't seem to understand it enough to use it for this problem. the graph already has 2 series plotted (called the envelope) so i have to use seperate series to plot the data.

Basically the name of series is down column A
but the range is from E1 to Y1
and the data to be plotted on the graph which already has two series plotted in it is E2 to Y2, E3 to Y3 etc. iv been trying to use this code but failing miserably

Sub adddatatopsd(Name As Range, XData As Range, YData As Range)
With ActiveSheet.ChartObjects(1).Chart
With .SeriesCollection.NewSeries
.ChartType = xlColumnClustered
.XValues = XData
.Values = YData
.Name = Name
.ChartType = xlXYScatterSmooth
End With
End With
End Sub...........................

View 4 Replies View Related

Change Chart Data Series (rows) Using Named Ranges?

Mar 13, 2013

I have a chart in a workbook that works fine by looking at the following data series:

=Workings!$A$2:$C$35

In the data series above...where the numbers are 2 and 35 I have named ranges "CHART_Start_Row" and "CHART_End_Row" which will change dynamically as appropriate and can replace these static numbers - but how do I incorporate these named ranges into the data series reference?

View 2 Replies View Related

Convert Hourly Time Series Data From Rows To Single Column

Jan 8, 2014

I have A:1 - X365 filled with hourly energy prices for 2013. I need to convert these to a single column - A1:A8760. I have tried writing some code and some macros with no success.

If I were to do it manually 365 times, the macro would look like this:

Copy Row A1:X1
select sheet 2
Paste Special > Transpose (fills A1:A24)

repeat for rows 2-365

Tried using this from a previous post, but it takes A1:A24 then B1:B24 and so on and makes them a single column - so it doesn't work unfortunately.

Sub MakeColumn()
Dim rng As Range
Dim LastRowSrc As Long
Dim LastRowDst As Long

Set rng = Worksheets("Sheet1").Range("A1")

[Code] .....

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

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

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

Creating Tab Rows

Dec 9, 2008

I have worksheets with many Tabs, I wanted to know if it was possible to create Rows of Tabs? I have included a picture of what I am talking about.

View 3 Replies View Related

Summing Series Of Maximums In Larger Series

Aug 22, 2014

I consider myself decent at Excel, but I don't have quite the depth of knowledge I would like. Here is my issue:

I currently have a series of 50 numbers for each row on a 300 row spreadsheet. I would like to write a formula that identifies the six largest numbers in that series and adds them together. So, for example, if the series was 8-6-4-4-4-5-1-1-0-15-3-9, the formula would spit out 47 (15+9+8+6+5+4)

How do I write that kind of formula?

View 8 Replies View Related

Chart - Second Series Starts Where First Series Ends?

Sep 21, 2011

I would like to have two series of data using the same X axis (date, formatted in months). The Y axis is in intervals of 100,000.

The first data series is historical (actual) data (i.e. Jan 2009 to August 2011). The second data series is forecast (Sept 2011 - August 2012). So i want the forecast series to start immediately after the historical series. It is a 'line with markers' chart. The key objective is that the forecast data looks visually distinct from the historial series.

Excel version: Excel 2010
OS: Windows 7

View 5 Replies View Related

Color Bar Chart Series Based On Series Name

May 15, 2008

I'm using the following code to set the colours of the slices of all the pie charts in my spreadsheet based on each slice's legend's label: ....

View 9 Replies View Related

Creating Rows Of Years

May 11, 2006

I'm wondering how you can quickly create a row of labels holding Year 1, Year 2, Year 3, etc. I used to know how but I can't seem to remember anymore and can't find how to anywhere.

View 3 Replies View Related

Combining Rows - Creating List

Jan 16, 2009

I'm trying to automate a task at work which is really annoying. I've gotten some of the way, but would like your help to get over this hill.

This is what I've got so far:

I get the data from AutoCAD, I've cleaned it up, and created a Vlookup to give me the length in inches. Due to minor variations in length, the data from AutoCAD is seperated into equal lengths. What I need to do is combine this information into a single row. For example, rows 13-16 are exactly the same, and need to be combined into a single row. They are all 15" in Pour #3, but I have to add these numbers up with a calcultor to get a final count. Since most buildings are not the same, the data can be different, but they will always have the same basic columns; "Count", "Pour", and "Length". Name can be thrown out because it's not really necessary, I just keep it in there to make sure all I'm counting is lines.

View 9 Replies View Related

Creating Bookmarks / Hyperlinks To Rows And Columns

Jul 6, 2014

I have two sheets, Index and masterdata. Index sheet has S.No and Projects, masterdata sheets has S.No, Projects and other information.

I need to create bookmarks/hyperlink for S.No in Index sheet to masterdata's S.No.

In other words if I click on Index sheet S.No, it should take me to corresponding colums in masterdata's S.No.

Example : In the attached sheet If I click on A2 in Index sheet then it should take me to B1 in masterdata sheet and so on till nth row and column.

I tried using =HYPERLINK("#masterdata!B1",A2) but its not working as expected. and the row values are not incrementing.

View 3 Replies View Related

Creating New Worksheet From Predetermined Random Rows?

Mar 23, 2012

I have 800 rows of patient information, I need to sample 70 patients. I used the Random.org randomizer to get my 70 patients. That randomizer only gives me the line numbers such as 1, 8, 23, 45, 70, etc. I then need to go to Excel and just pick out the patients on those lines I was given above. Is there an easy way in Excel to have my spreadsheet of the 800 rows and create a (simple) calculation that will pick out the line numbers that I need all at once, so I do not have to go thru manually and choose the data from row 1, 8, 23, 45 etc to make my new spreadsheet with only my sample patients on it. OR is there a easy way to pick 70 random lines from a spreasheet..

View 1 Replies View Related

Unlimited Rows While Creating Pivot Table

Sep 18, 2013

I have the code listed below where i keep getting a compile error. This is from a You Tube (Pivot Macro - Episode 1211 - YouTube) episode 1211. why this would not work? Basically trying to set up a macro that creates a Pivot Table that will always have the same number of columns, but each set of data will have different number of rows.

ActiveWorkbook.PivotCaches.Create(SourceType: xlDatabase, SourceData:
DataSheet & "!R1C1:R" & FinalRow & "C37", Version: xlPivotTableVersion14).CreatePivotTable
TableDestination: NewSheet & "!R3C1", TableName: "PivotTable2", DefaultVersion: xlPivotTableVersion14

View 5 Replies View Related

Creating Macro To Transpose Column Data To Rows

May 22, 2012

How to create a macro to transpose rainfall data (in a column) into rows.

I have over 7200 years of data so using paste special will be very slow.

I have attached a sample of the spreadsheet below.

YearMonthRainfallYEARJANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC
11105.5841126.1212131.72131412.0541514.15451646.6716179.75571824.4838193.
25291105.931011131.1781111231.943122161.0321322109.9142324.751152416.501162512.
164172613.222182787.3719285.5202931.944212104.019222111.1642321221.049243117.

[Code] ..........

View 6 Replies View Related







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