Line Chart not showing Zero's

gtd526

Active Member
Joined
Jul 30, 2013
Messages
448
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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,987
Office Version
  1. 365
Platform
  1. MacOS
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:
Solution

gtd526

Active Member
Joined
Jul 30, 2013
Messages
448
Office Version
  1. 2019
Platform
  1. Windows
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.
 

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,987
Office Version
  1. 365
Platform
  1. MacOS
you are welcome
 

Forum statistics

Threads
1,144,611
Messages
5,725,304
Members
422,608
Latest member
bswg5882

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
Top