I have a table in a Google sheet that looks like this:
The data updates daily with a new column added after Column "Date" and is intended to track how quickly my team moves through projects. I am wanting to chart the data as a scatterplot so that I can add Linear Trendlines for each series. However, these lines are affected by all of the 0 values. I would like them to start with the last 0 value that precedes the first non-zero data point. The easiest solution I can see would be to use a macro to clear 0 values from the table. I am struggling with how to
- A) run the trendline through 0 in google sheets as there isn't really an option I can see; or
- B) delete all 0 values except for where the cell to the left is greater than 0.
This is currently where I am at with Row C.
But would like it to look like the following:
With the table potentially looking like this (Note highlighted the row with a zero preceding a value >0):
=IF(A1=0%,"",A1)
, so the0.00%
values will be excluded when building the chart. You can also just remove these values from the spreadsheet (or have a text that says something like "No Data"), assuming this won't affect your use case!