ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Automatically updating Graphs (https://www.excelbanter.com/excel-worksheet-functions/48933-automatically-updating-graphs.html)

Rich Gibbons

Automatically updating Graphs
 
Just wondering if I could automatically change a graph.

For example I do a number of graphs for every month, obviously days of the
months changes so on a month where there are 31st, there isnt a problem. The
problem is when i have a month which only has 30 or 28 days. This leaves the
last 3, 2 columns zero but are still on the chart but are shown as zero.

Does anyone know how to automatically adjust the source data? perhaps with
an if statement?

Thanks

bj

a simple way to do it is to simply hide the cells when the month doesn't have
31 days.

"Rich Gibbons" wrote:

Just wondering if I could automatically change a graph.

For example I do a number of graphs for every month, obviously days of the
months changes so on a month where there are 31st, there isnt a problem. The
problem is when i have a month which only has 30 or 28 days. This leaves the
last 3, 2 columns zero but are still on the chart but are shown as zero.

Does anyone know how to automatically adjust the source data? perhaps with
an if statement?

Thanks


Duke Carey

This search string in Google provides several replies to nearly identical
questions

chart dynamic range group:*excel*


"Rich Gibbons" wrote:

Just wondering if I could automatically change a graph.

For example I do a number of graphs for every month, obviously days of the
months changes so on a month where there are 31st, there isnt a problem. The
problem is when i have a month which only has 30 or 28 days. This leaves the
last 3, 2 columns zero but are still on the chart but are shown as zero.

Does anyone know how to automatically adjust the source data? perhaps with
an if statement?

Thanks



All times are GMT +1. The time now is 10:28 PM.

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