ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Why does Excel automatically choose the PlotBy method (https://www.excelbanter.com/charts-charting-excel/13160-why-does-excel-automatically-choose-plotby-method.html)

[email protected]

Why does Excel automatically choose the PlotBy method
 
Does anyone know what the criteria is that Excel uses to decide whether
to plot by rows or columns. In most cases it will default to rows on a
column chart, but every now and then it decides to choose columns when
the selected range is non-contiguous (which is legal), but rectangular.
Anyone seen this behavior before?

Roy


Jon Peltier

Roy -

Excel chooses ByRow/ByColumn based on the shape of the selected range.
If your data range has equal rows and columns, or more columns than
rows, Excel chooses ByRow. If you have more rows than columns, Excel
chooses ByColumn. Sometimes if a discontiguous range is selected, Excel
forgets its guidelines.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

wrote:

Does anyone know what the criteria is that Excel uses to decide whether
to plot by rows or columns. In most cases it will default to rows on a
column chart, but every now and then it decides to choose columns when
the selected range is non-contiguous (which is legal), but rectangular.
Anyone seen this behavior before?

Roy


[email protected]

Grrr. Thanks Jon for clearign that up. Much appreciated. I've been
able to get around it by jamming in the "rows" parameter, rather than
letting Excel "think".

Roy



All times are GMT +1. The time now is 09:15 PM.

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