ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Graph with empty cells? (https://www.excelbanter.com/excel-discussion-misc-queries/98695-graph-empty-cells.html)

Paquet

Graph with empty cells?
 
Hi,

I'm trying to build a simple macro that import a .txt files and making a
graph with these data. But the line of row varies from the imported files (2
rows up to 50). I dont want to plot empty cells.

I tried few things, like using edition, go to, cells, click constant... But
it doesn't work. I'm not good in VBA and I'm planning to do a lot of
different macro, so I want to use excel options. I tried to use defined names
to automatically update a chart range in excel, but I got a french version
and it doesn't reconize this function:

=OFFSET($A$2,0,0,COUNTA($A$2:$A$50),1)

Is this the good way to avoid plotting empty cells, or where can I change
the language of these function???

Best regards,

Alex Paquet


All times are GMT +1. The time now is 03:13 PM.

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