OK so I'm making graphs for yearly discharge of river systems and this requires my to enter a value for every day of the year. I also need to have means, maximums and minimums for each month. This means i need to have only 1 value for each month of the year. I'm having trouble putting both of these things into the chart because there are blank spaces between all of the cells for the monthly means, maximums and minimums since all of the cells adjacent to them are filled. Excel takes each of the blank cells as a value of 0, and its making my graph wrong, so my question is, how do i get excel to ignore the blank cells?
Hi there,
Honestly, I don't think your issue is around zero values. Assuming you're working on January you could:
Personally, I'd do the former.
- Calculate the max of all January and return it for each day in January
- Calculate it for just one day and let Excel draw the line between the two points on it's own.
Your data has many more issues though. With the values for January/February having a B after them, they are not charting, as they are not values and Excel can't interpret them. Your date column also doesn't hold true dates.
I would start by filling the first column with each day in the year, and cleaning up your data. (Column C doesn't have a title, so I'm not sure what is supposed to be there.)
Once you've got that done, then we can start on tweaking the chart to have the correct data and making it display correctly.
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
Bookmarks