Is there a way to not show a dash as a zero in Excel chart?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm setting up an spreadsheet to pull data and automatically graph a defined
array of cells in a chart. When I have a dash (-) showing up in a cell, it is
graphed as a zero. Is there any logic that I can implement so that a dash
doesn't show up on the chart. I tried If/then statements where the "-" would
be replaced by " " but that still graphed a zero.
 
You were nearly there: use =IF(A1="-",NA(),A1) to get #N/A in the cell next
to the dash; Excel will ignore these when plotting
 
Back
Top