Hello, I have a list of data that I am making a graph with. However, some of the data contains a zero and I would like to remove these from the list. After removing all of the data with a zero entry, I would like to update the area on my graph. The data has item# starting in F2 then going down, and a quantity starting in G2 going down. I would like the script to go through the column and every time it finds a zero value in the G cell, it deletes that cell as well as the cell in column F right next to it. After deleting the cell it should shift the cells below it upwards.
Also, after the useless data has been taken out, I would like to update my chart area. Currently I have a chart that is over 1000 values wide, yet only about 320 are needed. The data will expand with time and I'd like the chart area to update each time the list is sorted. Thank you very much.
EDIT: I should probably also specify that I'm looking for just the cells in column G and F to be deleted when the value in G is zero, not the entire row.
Bookmarks