Excel Line Chart can't Plot

Biz

Well-known Member
Joined
May 18, 2009
Messages
1,773
Office Version
  1. 2021
Platform
  1. Windows
Hi,

I found an error when a line chart has only 1 data point to plot see first chart.
If I add same value for second month then it plots see second chart.

Line Chart Error.PNG


How to fix this situation?

I was thinking Error Bar with Point but I don't know how to do that.
Your help would be greatly appreciated.

Biz
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Strange, the datapoint should appear with the marker
 

Attachments

  • 1590773983717.png
    1590773983717.png
    23.5 KB · Views: 3
Upvote 0
Yes, I realised it. It's, because 1 have only 1 data point then need to use "marker" to show data point. Normally, I use a line chart when greater than 1 data point to plot. Created a VBA custom function to add and remove markers based on number of data points and only for current year.

Thank you for your help. I spent very long time battling this problem.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

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