If you change the formulas in the work file to return NA() rather than "" then the line chart will treat them as empty. You can use conditional formatting if necessary to hide the #N/A errors in the cells.
Excel line chart won't skip missing data point, connect directly to the next data point. It return to zero.
I have tried "Select Data" "Connect line..." It didn't work
Microsoft 365 and Office | Excel | For business | MacOS
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
8 additional answers
Sort by: Most helpful
-
Rory Archibald 18,875 Reputation points Volunteer Moderator
2024-09-04T08:25:08+00:00 Are those blank cells actually empty, or do they have formulas in them?
-
Anonymous
2024-09-04T12:19:28+00:00 It has formula in the work file. I also tried to copy the fake data and pasted into a new sheet using paste special -> value only to draw a new chart. the blank cell was blank to me. The result was the same.
I further tested the cells with Len and isBlank function. Strangely enough, the Len function always returned 0, the isBlank function returned "No". If I highlighted the cell and click delete (not the backspace), then isBlank returned "Yes". What I can do to delete the hidden "ghost".
-
Anonymous
2024-09-04T12:22:03+00:00 Rory, thanks to your question. That's mind opening
-
Anonymous
2024-09-04T13:11:40+00:00 Rory, That addressed my chart issue. Great solution, Really appreciate it!