Excel Line Char: Empty Cell calculated by Formula “” as gaps

longbow2000

Board Regular
Joined
May 5, 2004
Messages
59
Office Version
  1. 365
Platform
  1. Windows
Good Day Team

I have a line graph (see attached image) with line graph with first set of cell value as blank. The graph correctly plot the empty cells as gaps 😊

The after I have a formula calculating values, and if values are less than zero, or an illegal rule of calculation (e.g. SQRT of a negative value), then the cell must be blank. This is done by an IF statement and add “” in the cell. Ignoring the “” will add a Zero on the cell.

Plotting the values, the cells with “” (suppose to be empty) is also plotted ☹, in the image attached it then shows a vehicle decelerated to a stop (speed zero), but distance coniums.

Any help or suggestions, or is there a way to plot the zero values also as gaps?

Thanks in advance.
 

Attachments

  • Graph_Accel_Decel.png
    Graph_Accel_Decel.png
    78.3 KB · Views: 12

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Return NA() rather than "" from the formula (there is unfortunately still no equivalent in Excel of the DAX BLANK() function). You can use conditional formatting to hide the error values in the cells if needed.
 
Upvote 0
Solution
Return NA() rather than "" from the formula (there is unfortunately still no equivalent in Excel of the DAX BLANK() function). You can use conditional formatting to hide the error values in the cells if needed.
Hi Rory, thanks works 100%!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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