Forum Discussion
why excel always put value of 1 when adding values in series
when I create a chart, I start adding the series in respective manner, I found that when I add new series, the series value filed always by default shows this value in the field = {1}, which every time I have to delete it before I choose my values from the worksheet. How to avoid this issue as it is struggling and slowing my work.
I believe it can be avoided.
2 Replies
- m_tarlerBronze Contributor
I'm not sure how your are doing this (exact steps) but I will often create a chart and then to add a new series I will highlight the data and copy and then on the chart i will paste special and then I can define it a new series and there are options to use existing X values or use the first column. not sure if that helps/applies to your case.
- NikolinoDEPlatinum Contributor
Maybe a VBA macro can help you...here is an example
Sub AddSeriesFast() Dim cht As Chart Set cht = ActiveSheet.ChartObjects("Chart 1").Chart cht.SeriesCollection.NewSeries cht.SeriesCollection(cht.SeriesCollection.Count).Values = Range("B2:B10") cht.SeriesCollection(cht.SeriesCollection.Count).Name = Range("B1") End SubMy answers are voluntary and without guarantee!
Hope this will help you.