ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   excel dynamic charting (https://www.excelbanter.com/excel-discussion-misc-queries/12467-excel-dynamic-charting.html)

bobf

excel dynamic charting
 
I successfully used Debra Dalgleish's method to create a
dynamic chart where my data was in columns. When I try to
apply the same approach to data that is ROWS, it doesn't
work. In fact my x axis labels should be Monday, Tuesday,
Wednesday, etc, but on the chart they are Monday, 4.6,
space, space, June 24 etc as it is looking downwards
rather than across. Any ideas, anyone. Thanks.

Debra Dalgleish

The formula for the chart values would be similar to:

=OFFSET(Sheet1!$B$1,1,0,1,COUNTA(Sheet1!$2:$2)-1)

and for chart labels:

=OFFSET(Sheet1!ChartValues,-1,0)

bobf wrote:
I successfully used Debra Dalgleish's method to create a
dynamic chart where my data was in columns. When I try to
apply the same approach to data that is ROWS, it doesn't
work. In fact my x axis labels should be Monday, Tuesday,
Wednesday, etc, but on the chart they are Monday, 4.6,
space, space, June 24 etc as it is looking downwards
rather than across. Any ideas, anyone. Thanks.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 08:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com