Reputation: 11
I have a problem solving something out in excel. I constantly have to manage financial informations from dozens of company as part of some startup acceleration programs.
In this context, as part of some analysis, I have to show, through graphs, the revenue information of the last twelve months of each company. However, some companies began operating 12 months ago, some other 8 months ago, and so on. Moreover, some companies report financial information each month, some others each quarter and so on.
However, if I select the same range of cells (same columns but different rows) for each company, the graphs will show the blank spaces when we don't have the monthly information of one company.
In this context, it is very inefficient to manually change the range of cells that each graph has to show for each company whenever we receive information from one company. Hence, I'm wondering if there is a way in which you could select a range of cells for a graph, but that the graph do not show the cells that are on blank, which could be some cells in the beginning or some cells at the end.
I'm attaching an image to explain more my problem, in which I point out with a red circle the blank cells that I don't want to have.
Upvotes: 1
Views: 6354
Reputation: 735
Directly copying @harrymc answer from here.
There are various methods for avoiding the zeroes, none of them are perfect. Below are a couple of such methods.
Filtering the data set
0
.Replace 0s with NA()
0
in Find what.=NA()
in ReplaceFor more information see the article How to suppress 0 values in an Excel chart.
My addition
N/A
them out via the formula bar. That would have the graph disregard the values.Upvotes: 2