Is there a way to suppress zeros on a chart?

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Is there a way to suppress zeros on a chart?

Post by BittenApple »

Hello team,

I have a chart and this chart is dynamic and it is made of named ranges instead of using ranges themselves.
I wonder if I can suppress zeros.

Regards,

User avatar
HansV
Administrator
Posts: 78394
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Is there a way to suppress zeros on a chart?

Post by HansV »

You can specify how a chart should handle hidden and empty cells:

S0478.png

But you can't suppress zero values. Will the zeros be at the end of the range, or will they be interspersed with non-zero values?
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: Is there a way to suppress zeros on a chart?

Post by BittenApple »

Hello Hans,
They are zero values of in chart series at the bottoms of chart.
Where is this dialog box? Is it from 365?

Regards,

User avatar
HansV
Administrator
Posts: 78394
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Is there a way to suppress zeros on a chart?

Post by HansV »

That dialog box can be activated in all recent versions of Excel.
- Click anywhere in a chart.
- On the Design tab of the ribbon, under Chart Tools, in the Data group, click Select Data.

S0480.png

- Click the Hidden and Empty Cells button in the lower left corner of the Select Data Source dialog.

S0481.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: Is there a way to suppress zeros on a chart?

Post by BittenApple »

Thanks,
It did take care of my issue.
Regards,

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: Is there a way to suppress zeros on a chart?

Post by BittenApple »

Hello Hans,
It still shows 0% when the value of series 0% in the data.
Regards,

User avatar
HansV
Administrator
Posts: 78394
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Is there a way to suppress zeros on a chart?

Post by HansV »

If you want to suppress zero values, you'll either have to clear the cells with zeros, or hide their rows.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: Is there a way to suppress zeros on a chart?

Post by BittenApple »

Ok, thanks for explanation.