Excel/Excel 2003 scatter graph
Thank you for your help with the following matter.
I am not overly experienced with MS Excel so apologize if I am not making myself clear.
I want to turn data from a pivot table into a scatter graph but am unable to do so as this format is not supported.
I have included a copy of the type of data I recieved from the pivot table that I wish the scatter graph to show.
The x axis should start at 24.
The y axis should range from 0 to 2000 at equal increments.
The data points on the graph should equal the value currently represented by an x.
Please can you explain how I can make this into a scatter chart so I can do this for future graphs?
Assuming you have columns O&P totally available:
Dim Rg As String
For Each thing In Range("A2").CurrentRegion
If thing.Value = "x" Then
n = n + 1
Cells(n, 15).Value = Cells(1, thing.Column).Value
Cells(n, 16).Value = Cells(thing.Row, 1).Value
.ChartType = xlXYScatter
Rg = Range("O1").CurrentRegion.Address
.SetSourceData Source:=Range("Sheet1!" & Rg)
.Axes(xlCategory).MinimumScale = 0
.Axes(xlCategory).MinimumScale = 24
.Axes(xlValue).MinimumScale = 0
.Axes(xlValue).MaximumScale = 1000
.Axes(xlValue).MaximumScale = 2000
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here