How To Chart A Table To A Specific Format

Feb 2, 2012

I'm looking to generate a chart out of a table of data. I want the Y-axis to show a percentage return on an investment.

On the x-axis I want to have a range of scenarios from a market average return of -40% to +40%. Obviously, I wish for 0% to sit in the middle of the x-axis.

I'd want to have 3 lines observable in the chart. I'd be looking to build the above out of a table almost exactly like this:

Market ReturnDeposit90% Model100% Model403.51412303.51211203.5910103.57803.543-103.520-203.5-1-3-303.5-4-5-403.5-8-9

View 3 Replies


ADVERTISEMENT

Format Data Table In Chart

May 29, 2006

how to change the orientation of values in data table values (x axis) by 90 degree in the attached sheet

View 3 Replies View Related

Excel 2007 :: Source Date Sorting Into Format Used For Pivot Table / Chart?

Sep 24, 2011

I am stuck trying to sort data that looks like the following, into a format that I can use as source data for pivot tables/charts.

Excel2007ABCDEFGHIJK2MalayMalayMalayMalayMalayMalay
ChineseChinese3MaleFemaleFemaleMaleFemaleFemaleMaleMale
436-4536-4536-4525-3525-3525-3536-4536-455
DateArticleContentLapseCurrentCurrentCurrentLapseLapseCurrentCurrent612-SepRelieving 40 years - Oct 15, 1972
Thick Haze continues to blanket MalaysiaHistory42712-SepRelieving 40 years - May 5, 1972
All Sharifah wants is a pair of legsHistory1222812-SepA man and his agonyHistory3223912-SepA lesson on Sept 16History22Sheet2

I will need to group Data multiple ways. However, I cant work out a good way to sort it. Can I have a suggestion on layout that I will be able to arrange data appropriately.

View 2 Replies View Related

Parse Text File To Provide Specific Table Like Format

Jun 10, 2009

I need help urgently for parsing a text file to have a specific format. The text file is of format mentioned below: ...

View 9 Replies View Related

Paste First Chart Into Second Chart But Maintain Format Of Second Chart?

Jul 12, 2013

How do I paste the first chart into the second chart but maintain the format of the second chart?

View 2 Replies View Related

Format Cell To Always Insert Specific Thing When Specific Name Is Typed?

Apr 4, 2013

Is there a way to format cells to where - when you type in a certain person's first name, it will insert something entirely different?

This has seemed to have happened on a computer at work.

In Excel, when I type in "Martha" then tab, or otherwise leave that cell, Martha changes to "Cool"

If I type in anyone elses name - it stays that name. But if I type in "Martha" .. it changes to "Cool" with the bullet and the word Cool.

View 6 Replies View Related

Change Table Filter Greater And Less Than To Specific Value In Specific Cell And In Another Worksheet?

Apr 16, 2014

I would like to change the greater than number to the value in cell 'I11' in sheet 'Linear Programming Data' and the less than number to the value in cell 'I12' in sheet 'Linear Programming Data'. The code I am using was done by recording a macro since I don't know how to code in vba.

Code:
Sub Results2()
' Results2 Macro
' copy table filter power by greater than and less than
Sheets("Finalizing Results 2").Select
Cells.Select

[Code] .......

View 2 Replies View Related

Format Number To Text With Specific Format

Sep 14, 2007

I'll get straight to the point: How can I change this text format from 474556788 to 0-47455678-8 (dash added after 0 and before the last number). I need to apply this to around 5000 rows (can't do that manualy). I want it to be int his format:

474556788 to 047-455678-8

Tks Auto Merged Post;474556788 to 047-455678-8 (This is the wanted format)

View 10 Replies View Related

Scroll To Specific Chart With VBA?

May 8, 2014

I know you can navigate to a specific range by using something like this:

Code:
Sub Scroll_To_A_Location()
Application.GoTo Sheets(3).Range("A200"), True
End Sub

But is it possible to somehow scroll to a specific chart?

View 3 Replies View Related

Pivot Table With Dynamic, Updatable Chart, But Not A Pivot Chart!

Dec 19, 2008

My boss wants me to design a dynamic, updatable chart in Excel 2003. I initially made a Pivot Chart based on a Pivot Table which worked perfectly, but it doesn't look professional enough when printed (or viewed) and she wants me to approach it a different way.

So, I created a graph based on the data in a Pivot Table, and used dynamic ranges as the source for the graph series so that the chart updates when the criteria fields are changed for the Pivot Table. I then added two combo boxes (ie data validation lists) to the Chart sheet, and wrote VBA code so that whenever the combo box values are changed, the Criteria fields for the Pivot Table on the 2nd sheet are updated accordingly, and this in turn causes the graph to be updated as well.

This solution also worked perfectly, but now I've been told to create the graph without macros.

Does anyone have any suggestions? The requirements/details are as follows:

1. The Pivot Table is on sheet "PIVOT", and the graph is on sheet "GRAPH"
2. The Pivot Table has two criteria - School Name and Year Level
3. On sheet "GRAPH" there are two data-validated fields, School and Year, which only allow the selection of valid Schools and Year Levels

Is there any way to make the Pivot Table update when values are changed in the fields on the CHART sheet so that the chart also updates, but without using code nor a Pivot Chart?

View 9 Replies View Related

Chart Without A Specific Source Range

Sep 1, 2009

I wrote a macro to create a chart out of a specific range of data.

View 11 Replies View Related

Format Pictures In Chart Not Avaiable

Jan 16, 2010

I am trying to add a picture to a chart and need to format it, but the functions are not available.

What I do is:
1. Format Chart area
2. Fill Effects
3. Picture
4. Select Picture

After I select the picture the "Format" and "Apply to" are not available and I can not change anything.

View 2 Replies View Related

How Do I Format Dates On Pivot Chart?

Jan 16, 2007

I need to format dates on the data labels of my pivot chart. My table has the correct format: dd mmm yy but the chart is showing dd/mm/yyyy.

How do I change this?

View 9 Replies View Related

Format Dates On Chart Axis

Feb 15, 2008

Using Excel 2007. Would like to format X-Axis values to display 1st month and 13th month as Feb 2, '08 for example. I would like the other 11 tick marks to remain. Sample attached ( Saved in 2003 format, I .xlsx was invalid file type)
4th micro chart uses F1:F13 for values for x axis

View 6 Replies View Related

Add Specific Markers To A Line In A XY Scatter Chart

Jun 2, 2006

I have some data where I am plotting cumulative M events versus time (blue). I would like to make a tick mark, or dot or something to indicate when event N (pink) occurs on the blue line. Imagine that I am measuring eating (M) versus time and that I want to show on that line the points when food is delivered (N). this is the plot I desire (ive shown some ticks and dots as examples, how can i do either one?): http://www.yousendit.com/transfer.ph...2F360E1F246391 and this is my data/current plot: http://www.yousendit.com/transfer.ph...27974E102C0620

View 2 Replies View Related

Chart Trendline To Trend Only Specific Values

Oct 3, 2006

i have a workbook that contains a series of worksheets. the workbook is a master document list. the first worksheet contains no data. the remaining worksheets are arranged so that A1 has the document number, A2 contains the document title, and A3 contains the review date. Id like to create a search macro that can search for the string entered into textbox1. if this is a number, the macro should search A1:A50 of all but the first worksheets in the workbook, and if its text, the macro should search B1:B50 of all but the first worksheets.

the macro should then select the cell containing what was searched. then id like the macro to prompt me and ask if id like to modify the reviewed date to todays date. d like to be prompted to continue searching for other records if they exist, and after that loop has finished to set the focus back to the search textbox.

View 2 Replies View Related

Formating Specific Data Points In Chart

May 20, 2007

I have a time series chart ( dates on x axis , with the data values on y axis ). It is a line chart. So column A has the dates, and column B has the values. Both have length 100. Now, column C can be considered to be the "flag" column. If a cell in Column C has the flag set to true , then the corresponding date/data values in the chart needs to be highlighted or formatted differently

I tried playing around with conditional formatting of x-axis but could not make any progress. Do I need to create a new data series with the C column?

Also given that there are 100 date values, I dont want all x-axis points to be listed on the chart. I guess excel by default shows the date points as the user increases/decreases size. But I dont want the specifically formatted date points to be skipped .

View 5 Replies View Related

Move Chart To Specific Place On Worksheet

Jul 12, 2007

now I thought about recording the macro, but it's an offset and if you click the chart, then it'll mvoe somewhere else even though the charts are always placed in the middle when generated. So I think I need to place it in a specific range. I want to use XY coordinates or range labels or something to that effect but would like something to this affect:

With Charts.Add
.ChartWizard source:=Worksheets("sheet1").Range("a1:a20"), _
gallery:=xlLine, title:="February Data"
End With

I got that in VBA help, but I'm not using Chart wizard, my code just creates the chart from the data on its own with specific chart type. So anyway, how would I make it put each of my five charts for the 25 people in the same place for every person. Performance Errors etc etc etc all will go in the right place everytime, regardless if you start with the page scrolled. I should do range right, but how do I change this macro to do it without chart wizard...just a chart that's already created and named. QUESTION: How do I place charts that are created from a data source onto a specific area of one worksheet, and those charts are always in the same place regardless of the person'a name.

View 9 Replies View Related

Place Chart On Specific Range Macro

Aug 1, 2007

I'm working on an assignment that pulls information for different countries and I'd like to know how to go about placing the charts on a specific area. Any help would be greatly appreciated!

The concept:

With each click of a country, the country's information will be pulled from a 'data dump' that I created in the same file. The map and flag are also shown. Some of that information is just using lookups, or a combination of lookups and code, and the hardest part are the GRAPHS - which I'm having a really hard time placing and adjusting accordingly.

The problem:

As of now the charts are automatically filled as the user clicks a new country, but all of the charts are placed in weird locations, but I'd like for them to be placed in the specified ranges above.

I would like charts in the following ranges:

A20:B30 (Immigrant Group)
D20:E30 (Ethinc Group)
F20:G30 (Languages)
F13:G19 (Religion)
D10:E17 (Age structure)

This is the major part of my project that I need to complete. Any help would be greatly appreciated, PLEASE. =)

Right now I have ranges that aren't accurate, but regardless of how I try to show my range, the function does not work:

Sub CreateCharts()
Dim counter As Integer, chartname As String, xvals As String, offset As Integer, Range As String

'Delete all charts
Dim oc As ChartObject
For Each oc In ActiveWorkbook.ActiveSheet.ChartObjects
oc.Delete
Next oc

View 6 Replies View Related

Chart X-Axis To Display Specific Numbers

Jan 10, 2008

I am trying to format my x-axis to list only the labels that have corresponding data points, but at the same time maintain appropriate number spacing. For example, My x-axis range is 0-90; however, I only want tick marks at 0, 5, 13, 40, 85.

View 4 Replies View Related

VBA For Changing Number Format Of Chart Labels?

Oct 10, 2013

This should be pretty simple but I don't know how to do it. When I run the macro recorder, it doesnt record the change. I just want to change the number format of the chart labels from currency to a normal number and visa-versa. Why doesnt this work?

Code:
ActiveSheet.ChartObjects("chart 5").SeriesCollection(1).DataLabels.NumberFormat = "[$-809]#,##0.00;-[$-809]#,##0.00"

View 2 Replies View Related

Format Chart Plot Series/Axis

Jan 16, 2007

im having problem formatting my graph.

chart type = line.

I have 1 series of data, which is N values vs. Time.

Time however, is specified by specific dates. The graph is not putting a plot point accorrding to the date corresponding to the N value.

Example values:

date:____1/1/05 _______ 5/7/05 _____ 8/13/05
n value: __55 ___________ 22 _________ 11

I want the chart to reflect the time between the dates and put a plot point (n value) under each date listed and connect with a line.

View 9 Replies View Related

Automatic Gantt Chart Format Formula

Sep 16, 2008

I am looking to create a spreadheet that will automatically shade blocks in a gannt chart according to a list of dates.

I.e B13 & B14 will have the start and end date of the particular task or activity (this will be on another sheet)

Row A3 - S3 will contain dates, iusing a lookup formulas excel will look up the activity name (or number) and look for the relevant date, if the date listed in row 3 is within or equal to that date it will return yes, if not a no.

this seemed straightforad, but I cant think of a consistent formula that will do this, without having to keep changing it ...

View 19 Replies View Related

Creating A Date Format Using OCW Chart Control

Jan 18, 2009

I am using the VBA Chart Control and I have the following instruction;

Me.ChartSpace1.Axes(ChartAxisPositionEnum.chAxisPositionCategory).Numb erFormat = "mm/dd/yy"

The chart is a "chChartTypeLine". the problem is that i cannot change the format of the X-Axis to a Date (mm/dd/yy) format no matter what I try? I keeps wanting to keep it as "General", here is the code;

Private Sub CommandButton1_Click()
Dim ser As ChSeries
Dim cht As ChChart
Dim MinValue As Double
Dim MaxValue As Double

MinValue = Sheet1.Range("D2").Value + 10
MaxValue = Sheet1.Range("A2").Value

View 9 Replies View Related

Pivot Chart : No Control Of The Axis Format

Sep 21, 2006

I made a pivot chart. On the X axis are days of the year. I would like the axis to give the months rather than the days, because it is easier to read. But when I select the chart's axis, I don't have acces to any "number" sheet in the "Axis format" section. I could just change the scale.

ActiveChart.Axes(xlCategory).Select
With Selection.TickLabels
.Alignment = xlCenter
. Offset = 100
.ReadingOrder = xlContext
.Orientation = 45
.NumberFormat = "[$-41D]mmmm;@" 'I added this line
End With
ActiveChart.HasPivotFields = False

View 3 Replies View Related

Format Chart Labels For Numbers With Commas

Mar 19, 2008

I know from searching through the internet you can change the intervals by modifying the minimumScale, maximumScale and MajorUnit fields of TickLabels. What I want to do is change the period of the axis label to a comma. For example,

if it shows

10.00
5.00
0.00

I want it to show

10,00
5,00
0,00

View 7 Replies View Related

Delete Specific Type Of Chart From Active Sheet

Feb 20, 2009

i'm trying to delete a specific type of chart from the active sheet using this macro:

View 2 Replies View Related

Excel 2010 :: Maintain Pasted Chart Format

Oct 23, 2012

Using 2010 - When I paste a chart I can initially retain the format of chart bar colours (Paste Special - source formatting). But when I select a new data source for the chart the formatting of the colours is not retained.

View 1 Replies View Related

Format Simple Graph Y Axis Of Pivot Chart?

Nov 19, 2013

I have a pivot chart which has one Axis field (Cell Ref2) and one Sum of Values field (which is a table series of percentages calculated from formulas)

I see the graph like I'd expect, but I'm struggling to get it to show percentages rather than basic integer units on the y-axis? Usually I would imagine to just right click on the y-axis : Format Axis, and expect to see something to change the display units, but it is only for hundredths thousands etc rather than a percentage ? The units themselves in the table for that value series are in percentages so I don't see why it isnt showing the percentage units in the first place.

View 1 Replies View Related

Loop Through Worksheets And Format Chart 1 - Runtime Error

Jun 27, 2014

I wrote a chart formatting macro, which works when applied to a specific sheet, and I'm trying use it in a for each loop. The macro is supposed to loop through a list of sheets and only format chart 1. I'm getting a "run time error 438: object doesn't support this property or method" at this line:

Code:
.ActiveChart.Shapes("TextBox 1").TextFrame.Characters.Text = "Bodily Injury (BI) Liability Claim Trends" & vbLf & " 2005-" & Range("K5").Value & " Percentage Change"

Here is my for each loop:

Code:
Sub UpdateTextAllStateCharts()
'This macro loops through worksheets in a list and performs the assigned task
Dim sheet_name As Range
For Each sheet_name In Sheets("WS").Range("C:C")
If sheet_name.Value = "" Then

[Code] .....

This line is also causing the same error:

Code:
With .Characters(42, 68).Font

View 2 Replies View Related







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