i don't know if is possible to create a chart line with y-axis values only, the y-axis values contain the cells A1+B1+C1+D1. and create a loop to make series until to last row.
I mean if it is possible i can make this infinity times acording to the data density (last row) to create lines per each row in my data. i need make it please!!! is to much work insert each per each, i have 3650 rows :(
I have a macro for a chart with x-axis and y-axis but, really i don't know how to do when x-axis no have data and y-axis has 2 or more cells.
Sub RefreshRange_series()
Dim LastRow As Long
Dim Rng1 As Range
Dim n As Long
Dim c As Range
With Sheets("DATA GRAPH")
LastRow = .Range("B" & .Rows.Count).End(xlUp).Row
Set Rng1 = .Range("AD3:AD" & LastRow & ", AG3:AG" & LastRow)
End With
For Each c In Rng1.Cells
'is the row visible? skip if not
If Not c.EntireRow.Hidden Then
n = n + 1
With ActiveChart
.SetSourceData Source:=Rng1
End With
End If
Next c
End Sub
Try,