Line Chart not showing Zero's

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have many cells showing in a Line Chart, how can I not show 0 values in the chart?
I read that =NA() works, but where does it go? Or anything else that works.
thanks
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
setup another column to chart from
and use some thing like
assuming data is in B2

set a new column C
and put

=IF( B2 = 0, #N/A, B2)
and chart from that

Book1
ABC
1
2Mon11
3Tues22
4Wed33
5Thu44
6Fri#N/A
7Sat#N/A
Sheet1
Cell Formulas
RangeFormula
C2:C7C2=IF( B2 = 0, #N/A, B2)
 
Last edited:
Upvote 0
Solution
setup another column to chart from
and use some thing like
assuming data is in B2

set a new column C
and put

=IF( B2 = 0, #N/A, B2)
and chart from that

Book1
ABC
1
2Mon11
3Tues22
4Wed33
5Thu44
6Fri#N/A
7Sat#N/A
Sheet1
Cell Formulas
RangeFormula
C2:C7C2=IF( B2 = 0, #N/A, B2)
Thank you.
 
Upvote 0

Forum statistics

Threads
1,213,513
Messages
6,114,072
Members
448,546
Latest member
KH Consulting

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top