Combined Bar And Line Graph/Chart
creating a graph / chart using Ms Excel? I've been trying to do it myself but to no luck as I'm just a novice Ms Excel user. I'm trying to create a bar graph and combine with line graph based on these data. kindly refers to my attachment image for an example of desire graph. For line graph, it should display individually based on the given data. These are my daily data and I want to have an analysis graph so that I could monitor my computer's usage and its efficiency.
Computers Data Usage

Computer01 10 50.00%
Computer02 691 68.89%
Computer03 107 81.03%
Computer04 190 81.25%
Computer05 2099 82.89%
Computer06 1247 50.88%
Computer07 2786 10.00%
Computer08 69 22.00%
Computer09 300 18.00%
Computer10 1829 87.07%
Computer11 746 27.43%
Computer12 437 91.33%
Computer13 301 62.50%
Computer14 24 40.00%
Computer15 93 83.33%
Computer16 192 92.45%
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
How Do I Not Graph A 0 Value On A Line Chart
I have created some charts for my work and one of them is a line chart that spreads across one year with values for each month. Well they want the graph to always show one month ahead of where we are out. So there is actuals in for Sep. but then the line graph drops all the way to 0 for Oct. I don't want to have the graph bottom out when there is a zero. Does anyone know how to fix this?
View Replies!
View Related
Graph The Following Data In An Area Chart With Line Charts Superimposed On The Area Chart
I am trying to graph the following data in an area chart with line charts superimposed on the area chart. I have a lot of data (and a lot going on) so I'm trying to figure out the best way to show this in excel from a functional standpoing (i can't get this to work in excel!!) to also an asthetic standpoint (dont want it to look terrible or illegible). This is what I'm trying to chart: 1) Weather data (temperature) by region: So one region, would be: Northwest I would like the "area" (so a shaded region) to be the min/max of the temperature data for each month. 2) I would like to show the temperature for each year as a line graph on the chart  so you can see if a year falls in or out of the shaded region. 3) I would like to show a company's sales increases across the same months per year as separate line charts. I may choose to just show the biggest outlier year in the end... or to show 2006 (the latest data). What I am trying to convery with the chart is that the company's sales is or is not tied to weather deviations. I have attached an excel file with the data. I haven't been able to use the area chart or get a two axis chart to work or get it to look even remotely professional.
View Replies!
View Related
Line Graph: (line Graph To Display An Amount Over Time)
I want to use a line graph to display an amount over time  that's the easy part. On the other hand, I would like to have to group the lines based on a value. A short example: Imagine you own 3 different stores and you're selling oranges. So your table looks like this: http://img179.imageshack.us/my.php?image=orangeshm4.jpg Now I'd like to have one graph (3 different graphs won't work as the rows increase I need to select the whole column as data source): Date on the x axis, Oranges sold on the y axis, and one line per store (e.g. a green one for store A, a red one for B and a blue one of C, doesn't matter).
View Replies!
View Related
Stacked Bar & Line Graph
how to create a stacked bar & line graph together. I know by default, I can choose to have a stacked bar, OR a line graph, OR a basic bar & line graph. But I need to take a step further and have a stacked bar WITH a line graph. options in which I could combine the above graphs?
View Replies!
View Related
Formatting Line Graph
how to have different format on a line grapgh. I have a series of data points for sales figures. The first 10 are actual data and the next 5 are projections. I want to have a line graph with solid color format for the actuals and a dashed format for the projections.
View Replies!
View Related
Line Chart  12 Month Chart Moving With Dates
Is there a way to display only the current month and the past 11 months in a Line Chart in Excel? So if I was to print Jan 2008 Excel graph, it would only display Feb 2007  Jan 2008 data charting. The spreadsheet of the data contains data for Jan 2005  Jan 2008 so far, but only the current month with the past 11 months should display in the line chart depending on what is the current month.
View Replies!
View Related
Line Graph Show No Value When No Value Is Inputed
XAxis = Week1:Week13 YAxis =Revenue for each week. I have a line graph. If "Week9:Week13" have no value, my graphs line drops to 0. How do I make my line graph show no value when no value is inputed for "Week9:Week13"? I think I need to incorporate the =NA() in the original formula but I'm not sure how to do this.
View Replies!
View Related
Stacked Bar Graph With Average Line
We are trying to create a stacked bar graph with an average line. Each time we try to add in the average data to the graph it adds it to the stacked bar. The stacked bar should represent the inpatient & outpatient cases at a hospital for the current year (months showing across the as columns). The line should represent the previous 2yr average total. Anyone have an idea how to add a line to the stacked bar graph? It has us stumped.
View Replies!
View Related
Third Axis Data  Line Graph
I have a line graph that contains information for the following products, Boats , Cars & Bikes. The chart works well but i would like to show the numbered scale of each product & i can't work out if this is possible in excel. Currently i can only get two data showing for the axis. I would like to show all three & just use a color to indicate which data corresponds to which product. In my attached example: I have data for both Cars (blue) & Bikes (green) but i would like to also show data for the graph scaling for Boats (pink).
View Replies!
View Related
Stacked Column & Line In Same Graph
I would like to make a graph in Excel, where I present both a stacked column and a line with two different axes. Including a clustered column and a line in the same graph with two different axes is easy, as this combination can be found in the custom types selection in the chart wizard. However, there is no such alternative as a stacked column and a line with two different axes. Is combining the two manually possible?
View Replies!
View Related
Creating A Line Graph With 2 Sets Of Values
I am trying to create a line graph to show the trends (up or down) of IFund vs Gold. The trouble I am having is how to set the axis. The date one is an easy one, but the gold range is more or less 8001000, and the IFund is 1318. How can I have these both on the same graph to compare? I am attaching an Excel sheet as a reference. Obviously I need to delete the empty IFund cells.
View Replies!
View Related
Pivot Multiple Graph And Trend Line
I got a pivot table with following details Row Values: Dept_Code, Super_group, Product_Group Column Values: Ending_Date Data: Sales, Availability%, Waste%, Number of Stores i need to have a bar chart with trend line individually on each data items e.g.Sales, Availability% etc. when i tried to use trend line it prompts me to enter series i.e Ending_Date and it draws trend line for only that period comparing all data values. is there any way to have individual graph for Sales, Availability%, Waste%, Number of Stores with trend line covering
View Replies!
View Related
Pareto Chart, Set Line Chart Origin At Zero
I have a pareto chart(Bar & Cumulative Line Chart) that I would like to have the line orginate at x = 0 & y = 0 without changing the position of the other points on the line chart. Basically this is for better visual appearance. When I add a 0 to the table, it skews the alignment of the line chart with the corresponding bar chart.
View Replies!
View Related
Line Chart To XY Chart And ViceVersa
Attached is the sample data worksheet. Chart 1 is XY type chart using Seconds (2nd column of sample sheet as xaxis from 42510 to 42530). How do I change it to Line chart using Time (1st column of sample sheet as the Xaxis) retaining same data from 42510 to 42530 on both primary and secondary axis?. And how do I again change it back to XY chart?
View Replies!
View Related
To Make A Line Graph With Specific Increments On Both The X And Y Axis
I'm trying to make a line graph with specific increments on both the x and y axis. Now, I can make specific increments on one, but have to sacrifice the other in order for me to label the lines. Im not sure how to get around this. I'll just type out what i'm trying to do and maybe you smart people can help me here. Okay, both the x and y axis must be in increments of 8,10,12.5,16,20,25,30, and 35. The first line should be labeled "Indicated magnification, and should have the values 8,10,12.5,16,20,25,30, and 35... the same as the x and y values, making the line a straight linear line. The second line should say "actual m value" and have values of 10,12.5,15.5,20.5,25,31,37.5, and 44. The third line should say "actual n value" and have values of 10,13,16,21,26,32,38.5, and 45.
View Replies!
View Related
A Chart Will Columns And A Line Chart Below??
I can create a column chart in excel comparing sales in 06 v's 07 for each month in 07, what I'm aiming to show on the chart is how sales have grown or not over a comparative period. A simple enough graph, I end up with about 24 columns (2 for each month and then a gap between each month). I now want a line chart to show the performance of an index over the same time period, lets say the FTSE100. I don't know how to get the line chart under the columns on the same graph, using the same xaxis with a small yaxis to the left. I could propably figure out the yaxis bit if I could only get the line chart below the columns.
View Replies!
View Related
Macro To Generate A Line Graph With Coloured Pointers And Lables Based On Table
column A = Date : 01/02, 07/02, 14/02, 21/02, 28/02 (xaxis : shows when the table is updated) column B = project: x, x, x, x, ,x (name of the project and trend line) column C = Delivery Date : 01/05/2009, 08/05/2009, 20/05/2009, 30/05/2009, 28/02/2009 (plotted on the graph) column D = Status : Green, Amber, Red, Green, Blue (status of the project. the points should be the same colour as is described in the table) column E = Comments: original, delay, supply, out of money, on track, deliveredwow! (these comments will pop up if the user holds the cursor over a point) NB Yaxis scale : 01/01/2009 to 31/12/2009 with increments of 14 days. this will be the same scale used for all projects. Date Project Delivery Date Status Comments 01/02 x 01/05/2009 Green original date 07/02 x 08/05/2009 Amber delay supply 14/02 x 20/05/2009 Red out of money 21/02 x 30/05/2009 Green on track 28/02 x 28/02/2009 Blue deliveredwow So id like the macro to draw the line for project x based on the 'delivery date'. The points should be coloured according to the 'status' column and when you hover the mouse over the point the data lable will show up taking info from the 'comments' column. Would it be possible to create a macro that will be able to generate this graph automatically. I have a few projects id like to do the same thing for.
View Replies!
View Related
Chart Or Graph Percentages
I need to plot percentages over time in a line graph in excel. I don't want to have to do a percentage equation in the spreadsheet, I just want excel to take two sets of values and display the percentage in the chart. For example, I need B1 as a percentage of B2 for week 1, C1 as a percentage of C2 for week 2, etc....
View Replies!
View Related
GraphChart In Cell
I was tracking down simple ways to generate ASCII character based bar charts and came across this stunningIncellBarChartExample where the author suggested this can be done using VBA code. I am very new to Excel and EXCEL VBA. Can someone help me sketch how the coding for the above example (include mixed colors) might be done? Is there a special font that need to be used?
View Replies!
View Related
Multiple Series Chart/Graph
I have a scatter graph that has over 100 curves that im need on one graph that at the moment i putting each x and y and name in by hand in series. I have been doing it for hours and have looked round the site to see if anything similar answer on ozgrid would help but im baffled i was just wondering if there is an easier way of doing this i havent really used macros but iv been reading up on it can i used it to do this? I have added the table and graph and this is how i would like all the columns to look like its the table called graph that makes the curves that i would like to be able to add in quickly the rest im not too fussed about.
View Replies!
View Related
Drop Down Chart To Run A Graph Macro
I am trying to figure out how to activate a macro from each item in a drop down list. I also need the macro to recognize which item is chosen and to use that items data (say cells C3:C11) to create its graph. I know how to create an individual macro that will create a graph for the item but not a general macro that can be used to graph all items just discerning the difference in where the data is (which item to graph). Is this possible????if so please include code (amatuer programmer).
View Replies!
View Related
Create Stacked Bar Chart/Graph
I need to plot a stacked chart. I have attached a sample of it. I need to plot, category As X and subcategory and and its percentage as Y (stacked chart). In the attached sample I plotted a chart. The problem is, the series name showing is not correct. It takes the series name from the top row.
View Replies!
View Related
Automatically Update Graph/Chart
I have a macro that extracts data from a source workbook. The data is owerwritten every time that I use the macro. Now I have a graph that everytime I use the macro does not update with the new data, Is there a clever way to do that? The code for extracting from the workbook is the following: Sub Extract() Dim myFileName As Variant Dim SourceWkbk As Workbook Dim CurrentWkbk As Workbook Dim testWks As Worksheet ActiveWorkbook.Sheets("CURRENCIES").Select ActiveWindow.SelectedSheets.Delete myFileName = Application. GetOpenFilename("Excel files,*.xls") If myFileName = False Then Exit Sub 'user hit cancel End If................
View Replies!
View Related
Rolling X Month Graph Or Chart
I've been working on this for a couple hours and I am close to getting it how I want. Basically I want to have a rolling 15 month graph that will change according to the month you choose in the drop down tab. Example: I choose july 2007, the graph will show data from july 2007 to September 2008. I have the graph functioning, however my formulas are off (collecting the wrong data). I've included a spread sheet
View Replies!
View Related
AutoExtending Graph/Chart Range
I have a Line Graph with 2 lines on it. Is it possible to write a macro to extend the range (Source range) of one of the lines ? I would also like to add a Data Label to the newly added point. For e.g. If I have Line 1 graph only till 65, I want the macro to extend the range by one row to include 95 and also display a datalabel ......
View Replies!
View Related
Create Chart/Graph From Text Strings
Can I build/present a "Pie" chart DIRECTLY from a list of "ABC" letters WITHOUT counting the occurrence of each one of them and using the results [nor VBA / nor PivotTable]  which is the trivial way of building charts !? An example of such a list will be: A A A B B C C C C C
View Replies!
View Related
Pie Chart To Graph Percentage Of Total Expenses
when you open up the file please ignore everything above the blue bar. That was the old data which was arranged wrong. I have actually figured a lot of this out but i am stuck. The graph is set up so when you click on the drop down menu (F26) it changes the graph to the relevant data. Now the bottom graph is currently graphing the Months Expense1 as a total of all Expense1. So January Expense1 was $100 so its 26% of all Expense1. and when you click on the drop down button you can changed the data to Expense2 and the graph changes. YAY ok thats cool. However, thats not what i want. I want the pie chart to be graphing the expenses as a percentage of total Expenses. So the drop down menu would be of the months instead of the expenses. I have changed that with relative ease, but I cant get the data to graph how i want it to. I have been using OFFSET() formula and the define name manager to set up the previous graph. You can easily look at the formulas i have used instead of me trying to explain everything. Please help. This is the test bed for a budgeting spread sheet I am working on. if you can help me out that would be great.. Please try not to use Macros because i dont understand them all that well and I need to take what is done in this spreadsheet and learn from it and change it so it works when are thre 10 expenses.
View Replies!
View Related
Making Chart/graph From Text By Occurrence
I track inventory/sales for a very small sole proprietorship. I'm looking to track the number of items that I sell based on the text that I enter in a certain column. Specifically, I want to have a visual chart/graph to show the percentage of each size/color of an item that I sell, as I sell it. When I enter the words "3T pink" I want the chart/graph/whatever to show another quantity of this category. As I sell a new item, I want the chart to reflect it. The problem I'm having, is that the graphs/charts require two data sets, but I want the graph to calculate it for me! All I want to do is enter the text for specific items, and when the text occurs subsequent times, I want this reflected in the graph/chart. It seems so much more simple in my head....basically I want a dynamic chart, not based on a static data set.
View Replies!
View Related
Dynamic Chart/Graph For Changing Ranges
I have a database in excel with a lot of tables in which lets a uses a combo box so the user select can view just one table. I want to be able to create a macro so when a button is pressed, it copies the data into a new workbook and creates a chart so they can do whatever they want without disrupting anything in the original workbook. I have been able to find code that will export the data and create a chart (see below) but the problem is the range changes from table to table so I need to find a way of changing how the chart picks up the data range. Sub Chart_New_Book() Sheets("Temp").Select Cells.Select Selection.Copy Workbooks.Add ActiveSheet.Paste Range("A1").Select Charts.Add ActiveChart.ChartType = xlColumnClustered ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("A1:C10") ActiveChart.Location Where:=xlLocationAsObject, Name:="Sheet1" End Sub So at the moment when charting ony cells A1:C10 will be plotted no matter what the size of the table is and making the target range bigger only sees the blank cells being plotted.
View Replies!
View Related
Chart A Graph Of Jobs Over A Period Of Time
I have an Access database, with a table of jobs processed. One column for Job ID (Unique), Date it was processed, By Who it was processed and Comments ascoiated. I need to chart a graph of Jobs over a period of time. How many jobs done per date. In excel preferebly, I have programs like Database Plus for excel. And I am familiar with VBA. I can't figure out how to uniquely sort how many jobs for each date. As there are numerous job entries for on the same dates. I think it can be done with an SQL query or sorting it with VBA somehow. Any help will be greatly appreciated. Or can anyone suggest an application designed for charting with Access databases in Excel?
View Replies!
View Related
Graph & Chart: Data Source Changes Monthly
I am trying to write a macro that will automatically change the source data for a graph. This is an existing graph that is on tab GraphYTD and the data for the graph comes from DataYTD. The number of rows of data will change monthly, but I would like to use the same graph template every month. Here is my Sub SortYTD() Dim myBottom As Long myBottom = Sheets("DataYTD"). Range("B65536").End(xlUp).Row ActiveChart.SetSourceData Source:=Sheets("DataYTD").Range("F2:I" & myBottom) ActiveChart.Location Where:=xlLocationAsObject, Name:="GraphYTD" End Sub I am getting Runtime error 91  object variable or with block variable not set.
View Replies!
View Related
Determine BreakingPoint In Graph/Chart
finding a function/formula for determining the breaking point (Yvalue) in a graph, that doesn't necessarely equals the maximum value of that curve! So the curve in the sample is a stress strain curve (tensile test) of a fibre and at the end it breaks and the Y value returns to 0. I would like to determine that Y value before it is 0, so the last Y value before it returns to zero. I thought of a formula like: display last y value before it drops with 90%... but I don't have a clue how to write it in maths...
View Replies!
View Related
Plot On Chart/Graph As Zigzag Pattern
I have the following list of values which I want to plot as a zigzag. But when i create a line chart from them, the lines connect the zeros and the nonzero points  while I want the lines to connect only the nonzero points  so that there is a zigzaglike pattern shown. the Data: 0 0 0 0 0 1.4343 0 0 0 0 0 0 0 0 1.4332................
View Replies!
View Related
Test Selection Values & Graph/Chart
The user will select a range (example, B4Z4). The macro needs to test each cell to see if the number is in a certain range (example, is the number in the cell between 2140, 4160, 6180, etc?  these ranges will not always be the same on each worksheet). If the cell is in that certain range, that cell is a 1 for that range. Example, B4 = 23 2140 = 1 C4 = 30 2140 = 2 D4 = 45 4160 = 1 After all ranges are tested, it will be graphed on a separate worksheet with the xaxis being the ranges (2140, 4160) and the yaxis will be the total number of cells that fit in the range. The above would be....................
View Replies!
View Related
Prevent Graph/Chart From Updating/Refreshing
I am dealing with plotting large amounts of data (millions of cells) across multiple series. Everytime you click, add a new series or do anything it redraws the graph taking a while. This Is there are way to prevent Excel 2003 from plotting a graph until you are done setting it up?
View Replies!
View Related
Chart/Graph For Individual & Group Totals
I am working on the evaluation of a survey. I had 212 respondents which could be divided into three distinct groups. I would like to present the results of a question in columns that reflect the total frequency count in percentages. At the same time I would like those columns to be stacked in order to illustrate the contribution each group has made to that particular answer. I have attached an xls file with the data and a demonstration of the outcome I am trying to achieve. I haven't been able to create the graph so that the columns display the total count in relation to all respondents on the one hand and at the same time are broken up into the individual groups. Among others, I have read the thread: http://www.ozgrid.com/Excel/stackedcolumn.htm but that doesn't answer my question as the Total there is actually the cumulative total of the other values.
View Replies!
View Related
Interval Distribution Plot Chart/Graph From Selected Row
I have several worksheets with thousands rows (independent variables) and hundreds columns (all dependent variables). Each line basically gives me hundreds values for each independent variable  see below: ... C9 39.65 653.95 5.28 163.56 99.56 14.49 ... ... E9 7535.92 21500.56 2835.88 3122.98 7225.34 5371.25 ... ... G9 111568 298021 12940 31645 181797 36996 ... .... ... I need to know how the values in each row are distributed, and I ideally plot a 2D column graph of the distribution. Is there a way to do that and create/program a macro (with relative button on the workboook) that does it automatically once clicked? Very often there are outlying values (bigger or smaller by a factor of 1000 or even more), mistakes, which I would like to identify and fix possibly.
View Replies!
View Related
Source Location/Address Of Series In Graph/Chart
Looking for code that returns the cell address of a series in a preexisting graph. I have a graph that already has Source Data manually assigned to it. Is there a way to find just the cell values or location of a single Series in a SeriesCollection object? I know that in order to assign a series of data to a Series object, you do something like this: ActiveChart.SeriesCollection(1).Values = Worksheets("My Worksheet").Range("A1:F1") The issue I am tackling with is a graph that already has preexisting data in the Series object, and I just need a quick and easy way to find the address of this data set.
View Replies!
View Related
Macro: Plot Graph/Chart By Series Of Rows
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 Replies!
View Related
