Ignore blank rows when charting

strasbdj

New Member
Joined
Oct 17, 2016
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
I have a massive data table that only has data entered into certain columns for each row. I'm trying to create a chart where all of my data is evenly spaced, but because each column has blanks interspersed I get gaps in my chart. How do I get Excel to ignore these and plot the values in a consecutive fashion?

Here is what my chart looks like.
1577118941561.png


Here is what I want my chart to look like.
1577118947878.png


I have a feeling there's a very easy solution but my extensive Google searches only tell me how to connect the dots.
Thank you,
Dusty
 

Attachments

  • 1577118722820.png
    1577118722820.png
    4.8 KB · Views: 3
  • 1577118745229.png
    1577118745229.png
    4.8 KB · Views: 3

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Here's an example of the data I'm working with. I made the second chart by removing all the blank rows but I can't do this with the real data because those blank rows correspond to actual values in other columns.
1577123246563.png
 
Upvote 0
One easy way, make a pivot chart. Of course, depending on the version of Excel you have which your profile does not say.

Row Labels >> Run #
Values >> Sum of Result
 
Upvote 0
I'm using Excel 2010. Is there a way to do it without using Pivot Charts? I'd like to keep it as an XY Scatter plot. Essentially I'm trying to create a Levey-Jennings chart in Excel so along with my data points I will also be graphing lines for Mean, +/-1SD, +/-2SD, and +/-3SD.
 
Upvote 0
Here is one way. You'll need to extract the run #'s from the original data using some formulas and then you can build the charts off of the range in D:E.

Book1
ABCDE
1Run #ResultRun #Result
211.9711.97
321.9
421.931.92
531.9242
651
761.25
84271.56
95180.75
1061.2591.89
11 
12 
1371.56 
1480.75
15
1691.89
Sheet1
Cell Formulas
RangeFormula
E2:E10E2=IF(N(D2),VLOOKUP(D2,$A$2:$B$16,2,0),"")
D2:D13D2{=IFERROR(INDEX($A$2:$A$16,SMALL(IF($A$2:$A$16>0,ROW($A$2:$A$16)-ROW($A$2)+1),ROWS($D$1:D1))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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