How do you plot a discontinuous graph??

bat18

Board Regular
Joined
Mar 29, 2010
Messages
89
Hi,

I have a series of data which looks something like this

Week 1 2 3 4 5 6 .......

A 10 N/A 3 3 4 5
B 5 10 n/a n/a n/a 8
C n/a n/a 3 3 n/a 8

When trying to graph this it produces a zero result when n/a is present. I would like it to be discontinued for that particular week. For example for A i want it to show a point at 10 a gap in week 2 and then a continuous graph for weeks 3 to 6. Any ideas?

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi bat18,

I suggest you modify your formulas so that the cells contain null values ("") rather than N/A. Then you can simply go to Tools > Options > Chart tab and select the "Plot empty cells as" Not plotted (leave gaps) option.

Damon
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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